Page validation question

Robert Sullivan scp_sulli at sals.edu
Mon Apr 8 14:31:14 EDT 2002


>Well, the end of one div and the start of another automatically creates a
>break between the two.

It didn't appear that way in this case, but maybe that was the result of
something else I set.

>I presume you want to control the distance between the bottom of one block
>and the start of the next.  That looks like a job for CSS (bottom margin
>or top margin properties).

><br /> is more for creating a new line within a block (like say, poetry).  
>The ugly way (not in the true spirit of XHTML Strict) is <div><br
>/></div>, but then you're using semantic mark up where presentation mark
>up (CSS) should be used.

No, I want to do it the "right" way, and I hadn't thought about the margins. 
That works perfectly.

Thanks to Chris Gray and everyone else who responded!

Bob Sullivan                               scp_sulli at sals.edu
Schenectady County Public Library (NY)     http://www.scpl.org



More information about the Web4lib mailing list