| Home | Register | FAQ | Members List | Search | Today's Posts | Mark Forums Read |
|
|
#1 (permalink) |
|
volkswagen yellow & gold
Join Date: Apr 2003
Location: london, england.
Posts: 6,147
|
elusive bkg menu colour
any help appreciated: http://dev.flark.net/tss/web/ i can't get the mo-fo menu to have the correct bkg colour in the fox. beuller? |
|
|
|
|
|
#2 (permalink) |
|
Everything is fine.
|
The #menu div isn't extending all the way down to encompass your actual menu contents. If you whack a red border around it you'll notice it's approx 1px heigh, and not the height of the actual menu itself, this is why you have the white ends, or the lack of background colouring. - Mike |
|
|
|
#4 (permalink) |
|
Everything is fine.
|
If that doesn't help, then this CSS2 soution is what I've used before: Code:
I can't remember where I found this code, but it's always worked beautifully and doesn't need you to add any additional markup into your HTML; it goes in your CSS instead so there is a trade-off. But I'd rather have the extra code in my CSS than in my HTML. Bear in mind this is a CSS2 psuedo-element so you should take into consideration any CSS1 only browsers for backwards compatability. - Mike |
|
![]() |