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.
|
|
|
|
|
![]() |
||
Horizontal list
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
#1
|
|||
|
|||
|
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??? |
|
|
|
#2
|
|||
|
|||
|
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. |
|
#3
|
||||
|
||||
|
Re: Horizontal list
Try removing "display: list-item;"
|
|
#4
|
|||
|
|||
|
Re: Horizontal list
If that still doesnt work play around with:
list-style-position: inside and list-style-position: outside |
|
#5
|
||||
|
||||
|
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:
|
![]() |
| Tags |
| horizontal, list |
| Thread Tools | |
|
|
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 |