- This topic is empty.
Viewing 3 posts - 1 through 3 (of 3 total)
Viewing 3 posts - 1 through 3 (of 3 total)
- The forum ‘JavaScript’ is closed to new topics and replies.
The forums ran from 2008-2020 and are now closed and viewable here as an archive.
Home › Forums › JavaScript › looking for help
Hello every one, i am new here
I have a problem now, I have a very long legal document to put on the web. That document should respect that format:
TITLE
1. ***
TITLE
2. ***
TITLE
3. ***
* ***
TITLE
4. ***
5.***
* ***
TITLE
6. ***.
* 6.1 ****;
* 6.2****
what I want is to use the ordered list and define the TITLE as H2 elements. so 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.
so do you have any idea about it, could you help me, thank u :)
What you posted as deprecated elements is showing up garbled… and I can’t think of what you might mean there.
On the other hand, I know this HTML won’t validate, but it works. Will it work for you?
TITLE
- ***
TITLE
- ***
TITLE
- ***
***
TITLE
- ***
- ***
TITLE
- ***
- ***
- ***
or if you need it to validate, it’s a bit more markup:
TITLE
- ***
TITLE
- ***
TITLE
- ***
***
TITLE
- ***
- ***
TITLE
- ***
- ***
- ***
Is there a reason it has to use ordered lists? The structure looks more like an outline than a list format.
TITLE
1. ***
TITLE
2. ***
TITLE
3. ***
* ***
TITLE
4. ***
5.***
* ***
TITLE
6. ***.
* 6.1 ****;
* 6.2****