Re: validator questions-css/html 4.01 trans

> When I put through a page that has a <ul> it tells me that I can't have 
> <br> after </li>. Can anyone tell me how to do it if I can't use <br>? The 
> phrase the validator gave me was:
> Error: element "BR" not allowed here; assuming missing "LI" start-tag

Strictly speaking, even having a BR element will not introduce blank
lines, as its origins owe more to .br in troff, than to line feed in
ASCII.  However the big 2 do interpret it that way.

The right way to do is is to set the top and/or bottom margin on LI,
using CSS, but the hack way to do it on the big 2 (but *NOT* on Lynx)
is to put the BR before the /LI.

Received on Thursday, 29 August 2002 17:14:12 UTC