WebsiteBaker Logo
  • *
  • Templates
  • Help
  • Add-ons
  • Download
  • Home
*
Welcome, Guest. Please login or register.

Login with username, password and session length
 

News


WebsiteBaker 2.13.6 is now available!


Will it continue with WB? It goes on! | Geht es mit WB weiter? Es geht weiter!
https://forum.websitebaker.org/index.php/topic,32340.msg226702.html#msg226702


The forum email address board@websitebaker.org is working again
https://forum.websitebaker.org/index.php/topic,32358.0.html


R.I.P Dietmar (luisehahne) and thank you for all your valuable work for WB
https://forum.websitebaker.org/index.php/topic,32355.0.html


* Support WebsiteBaker

Your donations will help to:

  • Pay for our dedicated server
  • Pay for domain registration
  • and much more!

You can donate by clicking on the button below.


  • Home
  • Help
  • Search
  • Login
  • Register

  • WebsiteBaker Community Forum »
  • WebsiteBaker Support (2.8.x) »
  • Templates, Menus & Design »
  • Elastic Horizontal Menu
  • Print
Pages: [1]   Go Down

Author Topic: Elastic Horizontal Menu  (Read 4929 times)

Offline KP

  • Posts: 66
  • Gender: Male
    • CREVIN
Elastic Horizontal Menu
« on: September 01, 2011, 10: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

Offline pcwacht

  • Posts: 2923
  • Gender: Male
    • Dutch ICT info
Re: Elastic Horizontal Menu
« Reply #1 on: September 01, 2011, 10: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.....

  • Print
Pages: [1]   Go Up
  • WebsiteBaker Community Forum »
  • WebsiteBaker Support (2.8.x) »
  • Templates, Menus & Design »
  • Elastic Horizontal Menu
 

  • SMF 2.0.19 | SMF © 2017, Simple Machines
  • XHTML
  • RSS
  • WAP2