Horizontal list

This is a discussion on "Horizontal list" within the Web Page Design section. This forum, and the thread "Horizontal list are both part of the Design Your Website category.


 Subscribe in a reader

Go Back   Webforumz.com > Main Forums > Design Your Website > Web Page Design

Notices




Reply
 
LinkBack Thread Tools
  #1  
Old May 16th, 2006, 08:29
New Member
Join Date: Dec 2005
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Horizontal list

I'm trying to make a horizontal list. This is my simple CSS:

ul {
color: #ffba00; }

li {
float: right;
margin-left: 3em;
display: list-item;
list-style-type: disc; }

and this is the HTML:

<ul>
<li>Menu 1</li>
<li>Menu 2</li>
<li>Menu 3</li>
<li>Menu 4</li>
</ul>

With FF it's rendered in the right manner, but with IE there's no way to make it draw the dots before each item.
Why???
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote

  #2  
Old May 16th, 2006, 10:58
Most Reputable Member
Join Date: Apr 2006
Location: Cornwall, UK
Posts: 1,310
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Horizontal list

Its something to with using the float attribute in IE.

Annoying as it might be, are you trying to fix something you don't need to worry about? It's most unusual to have bulletts alongside menu items.

If your intention is to construct a horizontal menu, then I wouold set list-style-type: none.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #3  
Old May 16th, 2006, 11:55
herkalees's Avatar
Highly Reputable Member
Join Date: Jul 2005
Location: Massachusetts, USA
Age: 87
Posts: 576
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Horizontal list

Try removing "display: list-item;"
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #4  
Old May 16th, 2006, 12:16
drd drd is offline
Up'n'Coming Member
Join Date: Dec 2005
Location: Hampshire, England, UK
Age: 28
Posts: 65
Thanks: 1
Thanked 0 Times in 0 Posts
Re: Horizontal list

If that still doesnt work play around with:

list-style-position: inside

and

list-style-position: outside
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #5  
Old May 16th, 2006, 13:16
masonbarge's Avatar
Highly Reputable Member
Join Date: Jan 2006
Location: Atlanta GA
Posts: 631
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Horizontal list

IMO, just put a character as a list item and stop sweating it. I think MS webdings has a dot and is a standard font.

The site I'm working on has a horizontal list separated by vertical bars, which I thought looked nice:
Code: Select all
<ul>
<li><a href="l">Site Map</a></li>
<li>|</li>
<li><a href="index.php">Forum</a></li>
<li>|</li>
<li><a href="">Login</a></li>
<li>|</li>
<li><a href="">FAQs</a></li>
<li>|</li>
<li><a href="archives/index.html">News Archives</a></li>
<li>|</li>
<li><a href="mailto:editor@dhreport.com">Contact Daily Health</a></li> </ul>
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply

Tags
horizontal, list

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
2 Drop down list - auto select depending on choice from first list ciaranleeper JavaScript Forum 0 Mar 26th, 2008 10:38
horizontal list navigation breaks when load times are slow sch3dana Web Page Design 14 Mar 19th, 2008 12:56
[SOLVED] Centering a horizontal list in Firefox masonbarge Web Page Design 6 Nov 19th, 2007 12:43
IFrame left horizontal scrollbar and top horizontal scroll bar jadeite100 Web Page Design 6 May 29th, 2007 09:45
Horizontal drop down list Ranko Web Page Design 8 Oct 23rd, 2004 10:25


All times are GMT. The time now is 23:24.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42