You are here: Nested List Numbering « HTML « IT news, forums, messages
Nested List Numbering

Posted by JMD on 07/03/07 04:34

I tried making an outline-style list using nested UL's with generated
content ":before" similar to what is shown in the CSS specification.

However, a side-effect is that you must change the LI's to
display:block, and the numbering is inside the block, not hanging
left. To work around that, I used the normal code for hanging indent
(margin with the negative amount in text-indent) and that somehow
jumps in much farther than specified in Firefox (not checked in
another browser). What's going on?

But, even with that, I would not get the numbers to line up before the
main block, like with a normal list item. The hanging indent would
need to be a pre-determined amount and not reflect the actual size of
the numbering.

Can CSS 2.1 do this properly?

--John

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация