Variable width menus
Hi,
Is it possible to set the width of the menu to adapt to the width of the text? I could use inline css to do it but I wondered if there was an easier way.
Thanks
Tom
Hi,
Is it possible to set the width of the menu to adapt to the width of the text? I could use inline css to do it but I wondered if there was an easier way.
Thanks
Tom
in line css is the only way to accomplish this and maintain compatibility with IE.
OK, Thanks for the super-quick reply. I tried using span tags and a style=width: 130px; style on one of the list items in the menu.php file but it didn't do what I had hoped, do I have to remove ALL the styles from menu.css pertaining to my level0 LI? I tried commenting out the width in the external menu.css to no avail.
Sorry, I guess I'm not as smart as I thought I was :-)
T
add the inline width style to the anchor tag for the menu links.
That worked just fine even in Internet Destroyer, thank you Jason.
T
Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.
These out-of-the-box solutions provide you proven, tested applications that can be up and running now. Build a store, a gallery, or a web-based email solution.