469,957 Members | 2,670 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,957 developers. It's quick & easy.

keeping unordered list items on the same line

Hi,

Is there a cross-browser way to keep the items of an unordered list on
the same line (horizontal plane)? This is the code I'm working with
<ul class="tabs-nav">
<li class="" id="tab1"><a href="#remote-tab-7">General</a></li>
<li class="" id="tab6"><a href="#remote-tab-8">Learning Management</
a></li>
<li class="" id="tab79"><a href="#remote-tab-9">New Tab</a></li>
<li class="tabs-selected" id="tab83"><a class="" href="#remote-
tab-10">New Tab</a></li>
<li id="tab84"><a href="#remote-tab-11">New Tab</a></li></ul>
The text may change, but will never be longer than 255 characters.

Thanks, - Dave

May 14 '07 #1
1 19910
la***********@zipmail.com wrote:
Hi,

Is there a cross-browser way to keep the items of an unordered list on
the same line (horizontal plane)? This is the code I'm working with
<ul class="tabs-nav">
<li class="" id="tab1"><a href="#remote-tab-7">General</a></li>
<li class="" id="tab6"><a href="#remote-tab-8">Learning Management</
a></li>
<li class="" id="tab79"><a href="#remote-tab-9">New Tab</a></li>
<li class="tabs-selected" id="tab83"><a class="" href="#remote-
tab-10">New Tab</a></li>
<li id="tab84"><a href="#remote-tab-11">New Tab</a></li></ul>
ul.tabs-nav { list-style: none; }
ul.tabs-nav li { display: inline; }

Works in MSIE5.x+, Netscape 4.x+, Mozilla, Firefox, Opera ...
--
Take care,

Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com
May 14 '07 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by Steve Dorsey | last post: by
2 posts views Thread by Sandman | last post: by
1 post views Thread by simplico | last post: by
1 post views Thread by Eric Jones | last post: by
3 posts views Thread by laredotornado | last post: by
reply views Thread by rainxy | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.