Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- Ordered lists and standards-compliant code
- Jim Royal
September 16, 2003, 5:12 am
rate this thread
1. Click Start > Run.
A dialog box appears.
2. Type "cmd" and click OK.
A command prompt widow appears.
The problem is the line of text that describes the reaction to each
step. I'm having trouble figuring out the best way to tackle it in a
In HTML 4 Strict / XHTML, it is illegal to put a <p> inside an <ol>. So
that method is out.
I tried something like this:
<li style="list-style-type:none">A dialog box appears.</li>
This works well. However, in user agents that do not handle this
property (or in browsers from which I have hidden my style sheet), the
numbering reappears in the list, rendering the procedure unreadable.
I could close the <ol> and restart it with the appropriate number, but
that would be ridiculous -- I might as well hand-number the steps.
"Understanding is a three-edged sword"