On Fri, 11 May 2007 20:27:40 -0000, Mauricio Samy Silva wrote:
> Hi all,
>
> Is it possible to achieve a horizontal ordered list in IE6 using only one OL 
> element
> and valid CSS without images?
>
> Say:
>
> 1. First item    2.  A longer second item  3. shorter 3th
>

Hi Samy,
I believe the difficulty you are having is due to the way IE implements
the "marker" in list items. While most browsers chose to put the marker
inside the padding-left, IE chose to put it in margin-left. The specs
leave it up to the browser maker, so both methods are valid.

Inline items can have horizontal padding, but not margins. I *think*
that may be why your numbers do not show up in a horizontal list.

Now, I have not tried this, but wonder whether specifying 
"list-style-position: inside;" would work?

Just a thought.

Cordially,
David
--


______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7 information -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to