If i have a menu using an unordered list how do i make the menu div expand to the width of how ever long the menu items extend.
<div id="menu">
<ul>
<li><a href="#">test 1</a>
<li><a href="#">test 2</a>
<li><a href="#">test 3</a>
</ul>
</div>
So #menu should change in width depending on how many menu items there are and not the width of the parent (body).
Floating #menu works, but how do i get that div in the middle without needing another div?
Typed on iPhone, so hope it made sense.
Thx


Reply With Quote

Bookmarks