I've been validating my pages on the W3C site, and the only error left which I can't fix is one that says I can't have a br after a closing table tag. why is this? Do I have to use a <p> instead?
I think a <br> has to be used within a block element like a <p>, <form> or <td>. In any case, you shouldn't need to put a <br> directly after </table> - you'll get a line break there by default anyway.
thanks Chris. I know that closing the table automatically provides a line break, but I want another break because the tables are too close together. Will I just have to put an additional tr at the bottom of the table with a non-breaking space instead?
Rather than add extraneous <p>s and <br>s, just add some CSS to the second table to build up its top margin:
[tt]
<table style="margin-top:2em">
[/tt]
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.