J
Jim Royal
What is the most efficient way to code a list of steps such as this:
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
standards-compliant way.
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.
Ideas?
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
standards-compliant way.
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.
Ideas?