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

by "Lisa Bradshaw" <zibbler(at)web-design-cs.com>

 Date:  Tue, 23 Apr 2002 18:20:35 -0400
 To:  <hwg-techniques(at)hwg.org>
 References:  D1C4FN01 ntlworld
  todo: View Thread, Original
Ahhhaaaaa! Veeeerrryyy interesting. That makes sense.  What if you aligned
the table to the left? Would it work the same? I know tables are left
aligned by default, but what if you specified align="left" in the table tag?
Would it still be the same as float: left? Just curious.

Lisa
***********************************
Lisa Bradshaw ,  Web Designer

Crescendo Web Design - http://www.web-design-cs.com
***********************************
----- Original Message -----
From: "Andrew McFarland" <aamcf(at)aamcf.co.uk>
To: <hwg-techniques(at)hwg.org>
Sent: Tuesday, April 23, 2002 5:35 PM
Subject: Re: what's a 'block element?' was: reliable way to float a block of
text?


> 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