Re: what's a 'block element?' was: reliable way to float a block of text?

by Andrew McFarland <aamcf(at)aamcf.co.uk>

 Date:  Tue, 23 Apr 2002 22:35:59 +0100
 To:  hwg-techniques(at)hwg.org
 References:  D1C4FN01
  todo: View Thread, Original
At 13:14 23/04/02 -0400, jim barchuk wrote:
<snip/>
>How does that <snip/> thing WORK!?
<snip/>

It works because setting align="right" on a table is equivalent to setting 
style="float: right". This removes the table from the normal flow of the 
document.

Hence, instead of:

  DIV
  TABLE
  DIV

you have

  DIV
  DIV

By default, divs have no margin, so they stack on top of each other like that.

Andrew

--
http://aamcf.co.uk/

HWG hwg-techniques mailing list archives, maintained by Webmasters @ IWA