- This topic is empty.
Viewing 2 posts - 1 through 2 (of 2 total)
Viewing 2 posts - 1 through 2 (of 2 total)
- The forum ‘CSS’ is closed to new topics and replies.
The forums ran from 2008-2020 and are now closed and viewable here as an archive.
Hi!
Here is my problem :
I have a very long legal document to put on the web. That document should respect that format:
I want to use the ordered list <ol> and define the TITLE as H2 elements. The problem I have is if I do this, I would have to rely on the deprecated element “start†and “value†which I would like to avoid. I could have use the counter-increment property but it doesn’t work in IE 6 and I need this page to be cross-browser compatible.
Do you know how I can break my ordered list with those <h2> while staying cross-browser compatible and validing strict HTML?
***
here is my actual code (it works but not perfect as I want to get rid of the start= element) :
***
#main ol {list-style-type: decimal}
#main ol li{padding:5px 0px 5px 0px; margin:0px;}
#main ul.subList{padding:0px; margin:0px; list-style-type:none; list-style-position: inside;}
#main ul.subList li{padding:5px 0px 5px 0px; margin:0px; list-style: none;}
/**html**/
Any help?
I totally agree to Edwin