[solved] menu background color

For discussion and questions related to CMS Specific templates and stylesheets (CSS), and themes. or layout issues. This is not a place for generic "I don't know CSS issues"
Post Reply
mw
Forum Members
Forum Members
Posts: 159
Joined: Mon Aug 25, 2008 8:38 pm

[solved] menu background color

Post 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
Last edited by mw on Sun Dec 20, 2009 10:50 pm, edited 1 time in total.
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: menu background color

Post by Dr.CSS »

You need to give the menuwrapper a height equal to the height you want your menu...
mw
Forum Members
Forum Members
Posts: 159
Joined: Mon Aug 25, 2008 8:38 pm

Re: menu background color

Post 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?
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: menu background color

Post by Dr.CSS »

Use em ...
mw
Forum Members
Forum Members
Posts: 159
Joined: Mon Aug 25, 2008 8:38 pm

Re: menu background color

Post by mw »

Dr. CSS wrote: Use em ...
Ah-ha! Thank you very much :)
Last edited by mw on Sun Dec 20, 2009 10:49 pm, edited 1 time in total.
Post Reply

Return to “Layout and Design (CSS & HTML)”