Page 1 of 1

[solved] menu background color

Posted: Sun Dec 20, 2009 12:11 am
by mw
On this site:
http://www.uidds.com/
the main menu background color does not show 100% of width in FF, however it does in IE7 and IE8
I must be missing something...any ideas?
thanks

Re: menu background color

Posted: Sun Dec 20, 2009 8:36 pm
by Dr.CSS
You need to give the menuwrapper a height equal to the height you want your menu...

Re: menu background color

Posted: Sun Dec 20, 2009 9:29 pm
by mw
Dr. CSS wrote: You need to give the menuwrapper a height equal to the height you want your menu...
perfect, thank you!

so now I have hard coded the height to 20px;  and when the user increases font size in their browser this will no longer be aligned.
is there a way to have dynamic height=current font size/height?

Re: menu background color

Posted: Sun Dec 20, 2009 9:30 pm
by Dr.CSS
Use em ...

Re: menu background color

Posted: Sun Dec 20, 2009 10:47 pm
by mw
Dr. CSS wrote: Use em ...
Ah-ha! Thank you very much :)