|
Hello,
I'm new to this forum, however, I've been an avid reader for awhile and have found some good advice here. I'm hoping that someone will know the answer to the problem I'm having. I have not been able to find a solution.
I created an ordered list. I have 4 numbered items in the list. I want to create a line space between each numbered item. However, when I use a <br>, the HTML does not validate correctly. (It doesn't validate with any type of list.)
I get the following error statement: document type does not allow element "BR" here; assuming missing "LI" start-tag.
I get a similar error when I use the <p> </p> also.
I've also tried using a space.gif image and increasing the 'height' between each line, but it doesn't work that way, I guess.
How can I create a space between each listed item and still be able to have it validate it correctly?
I am using the following DOC-Type on my pages:
!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"
"http://www.w3.org/TR/REC-html40/loose.dtd">
and all except my one page (with the lists) have validated correctly.
Thank you,
DianeD
|