Welcome, Guest. Please login or register.
Did you miss your activation email?
May 26, 2012, 08:03:28 PM

Login with username, password and session length
Search:     Advanced search
Wollen Sie dem WebsiteBaker Team beitreten?
Nähere Informationen finden Sie unter hier und auf unserer neuen Webseite.
155551 Posts in 21715 Topics by 7737 Members
Latest Member: gx-world
* Home Help Search Login Register
Pages: [1]   Go Down
Print
Author Topic: Elastic Horizontal Menu  (Read 462 times)
crevinamd

Offline Offline

Posts: 26


WWW
« on: September 01, 2011, 09:14:33 PM »

Is there a way to create an elastic menu that resizes to fit a fixed width size <div> as pages are added / subtracted? I assume that's more of a CSS question, but I thought I'd toss the question out there to see if anyone else has run into this. I've never figured it out. Thanks, Kevin
Logged
pcwacht
AddOn Development
*
Offline Offline

Posts: 2859



WWW
« Reply #1 on: September 01, 2011, 09:34:21 PM »

First thing wich comes to mind is do not set a width and use  margin 0 auto 0 auto,
but I don't know how it will do on li

Other option is to use table cells instead of ul - li li?
Table cells tend to fill evenly. And it is easy enough to create with show_menu2

John


Logged

http://www.ictwacht.nl = Dutch ICT info
http://www.pcwacht.nl = My first
both still work in progress, since years.....
Pages: [1]   Go Up
Print
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!