PDA

View Full Version : No blank line after <p> when followed by <hr>


colems
12-31-2004, 07:43 AM
I see several instances where I have a <p> before a <hr> and I do not see a blank line before the display of <hr>

Voltage Spike
12-31-2004, 08:27 AM
Like the following?

<p><hr /></p>

or

<p><hr>

The first is not valid, and the second should not generate a blank line because it is an empty paragraph.

If you are attempting to create a blank line, you should use:

<br /><hr />