Hi Marcel,
To acheive this we usually use the following:
ul {margin:0;padding:0;}
ul li {margin:0;padding:0;}
ul li a {display:block;padding: .2em;}
ul li a:hover {background:green;}
Basically remove all padding from the list elements and then display the
link as block level and apply padding to it. Then you can acheive the
background colour change without any workarounds.
HTH
Damian
Marcel Pociot wrote:
Hey guys...
IE is driving me crazy..
Thanks to Schalk I managed to get the li:hovers working in IE...now my
problem is that it just looks like crap...in FF everything just displays
nice and smooth..
Could someone please take a look at it?
http://www.my-band.net/xbyte/showcase/
I tried to fix this on my own + google as my best friend for the last 3
hours but I have no more ideas.
Marcel
Marcel Pociot | e-mail: [EMAIL PROTECTED]
. . . . . . . . . . . . . . . . . . . . . .
Xbyte GmbH | 40699 erkrath | trills 23
<http://www.xbyte.de/> http://www.xbyte.de | tel.: 02104-138 49 30 | fax:
02104-138 49 34
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/