- From: Bruno <bruno5544@gmail.com>
- Date: Wed, 26 Jan 2011 15:06:05 +0100
- To: Alan Gresley <alan@css-class.com>
- Cc: www-style@w3.org
Works great, among all other web stuff web developers are learning every day, myself included (HTML, XHTML, HTML5, PHP4,5, Flash, Flex,MXML, ActionScript 2,3, JavaScript, XML, SVG from its very beginning) didn't need deep extensive knowledge for CSS. Still don't, but I'm checking now CSS3 in my free time, so I got across few issues about CSS. Good thing I asked here, here I get very responsive and constructive feedbacks from everyone. Thanks 2011/1/26 Alan Gresley <alan@css-class.com>: > On 26/01/2011 11:48 PM, Bruno wrote: >> >> In this sample :hover doesn't work properly, it moves down for 1px, >> what would be solution to this? > > > <!DOCTYPE HTML> > <html> > <head> > <style type="text/css"> > #css a { > font-size:20px; > background-color:white; > text-align:center; > display:inline-block; > text-decoration:none; > color:blue; > width:400px; > height:100px; > border: 1px solid red; > -moz-border-radius:20px; > } > > #css a:hover { > background-color:yellow; > } > </style> > </head> > > <body> > <div id="css"><a href="#">test</a> <a href="#">test</a></div> > > </body> > </html> > > > I will assure you that anything is possible with CSS. Much thought and time > has gone into the CSS specs. What you think does not work is due to your > lack of knowledge of how CSS combined with HTML does work. BTW, I had > trouble with centering when I first began CSS. > > > -- > Alan http://css-class.com/ > > Armies Cannot Stop An Idea Whose Time Has Come. - Victor Hugo >
Received on Wednesday, 26 January 2011 14:07:27 UTC