Patrick,

Think you need to use display:inline instead of block to display
horizontally:

#horzmenu ul {
        display:inline;
}

#horzmenu ul li {
        display:inline;
        list-stlye:none;
}

<ul id="horzmenu">
        <li>Item 1</li>
        <li>Item 2</li>
        <li>Item 3</li>
</ul>

For more info, see:

http://www.alistapart.com/articles/taminglists/
http://css.maxdesign.com.au/listutorial/

--dk

On Tue, 4 Oct 2005, Patrick Roane wrote:

> I am using a horizontal menu (unordered horiz list)
> that I'm trying to display in the center of my
> website. Originally, it was 'floated left'. But since
> I added a width and margin: 0px auto; and got rid of
> the float prop. the menu now displays as an unordered
> vertical list  (which is not how I intend to have it
> displayed).
>
> Can someone hint to a possible solution for this?
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to