For example,
If you have a list:
<ul>
<li>item 1 is short.</li>
<li>item 2 is a little bit longer</li>
</ul>
regardless of the size of the contents of each list item, the element
will span the entire width of the UL
container.
Anyone know how I can get the list items to only take up as much space
as their content requires?
Thanks,
Keith
If you have a list:
<ul>
<li>item 1 is short.</li>
<li>item 2 is a little bit longer</li>
</ul>
regardless of the size of the contents of each list item, the element
will span the entire width of the UL
container.
Anyone know how I can get the list items to only take up as much space
as their content requires?
Thanks,
Keith
Comment