full width horizontal menu - how can I get the menu to fit across the page

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"
Locked
stevegos

full width horizontal menu - how can I get the menu to fit across the page

Post by stevegos »

Hi,

Using the horizontal menu template and css. By default the menu titles are to the left with empty space to the right.

How can I get the menu to fully justify across the screen so the menu fits nicely?

Am using the latest 1.5.3 version of cmsms.

Any ideas?

Thanks, Steve
kateb
Forum Members
Forum Members
Posts: 13
Joined: Sun Jul 13, 2008 2:58 pm

Re: full width horizontal menu - how can I get the menu to fit across the page

Post by kateb »

You can use percentage padding for the li elements (you will need to play around with the percentages to get them right, depending on the number of menu items etc). Or, you can use floated divs. There's a great article on how to do this here:
http://www.smashingmagazine.com/2009/03 ... on-images/
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am
Location: Arizona

Re: full width horizontal menu - how can I get the menu to fit across the page

Post by Dr.CSS »

Of course with no link to the site your asking us to blindly fix your problem...
Locked

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