On 6/30/06, Portman <[EMAIL PROTECTED]> wrote:
Thanks Drew. I am a little unclear (no pun intended) on the clearing,
but will do some reading up on it.

Riva

Two major points about positioning and clearing. First is that
absolute and float take elements out of the normal flow of the
document. While the placement of such elements is respected, normal
content will attempt to fill any gaps left by such non-normal blocks.
So when a positioned element doesn't take up the entire width of the
document, the normal content will try to squeeze into the empty space.

A clear will tell the browser to not do that but instead to drop below
the non-normal element.

That would be easy to handle. So just to make it interesting, there
are times when browsers (yes IE is the most egregious) will decide
that floats in particular have no content, no matter what you think
you've put in them. Content of such floats are rendered as normal
flow, with often astonishing visual results. The cure for that is to
put an otherwise empty clear within the float.

While it is possible to deal with the discreet conditions which cause
this in an elegant fashion you should be forewarned that when IE7
arrives, many of these elegant solutions won't function properly. It's
easier to use the industrial strength solution of an empty float
element and bare the shame of being accused of classitis or divitis by
the purists.

A good explanation of floats is found at:

http://www.brainjar.com/css/positioning/


If you want the details of why you have the problem in the first
place, this will do

http://www.satzansatz.de/cssd/onhavinglayout.html

There used to be some good pieces on Position is Everything but those
articles now seem to be for sale.

drew

____ • The WDVL Discussion List from WDVL.COM • ____
To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED] or
use the web interface http://e-newsletters.internet.com/discussionlists.html/
      Send Your Posts To: wdvltalk@lists.wdvl.com
To change subscription settings, add a password or view the web interface:
http://intm-dl.sparklist.com/read/?forum=wdvltalk

________________  http://www.wdvl.com  _______________________

You are currently subscribed to wdvltalk as: archive@jab.org
To unsubscribe send a blank email to [EMAIL PROTECTED]
To unsubscribe via postal mail, please contact us at:
Jupitermedia Corp.
Attn: Discussion List Management
475 Park Avenue South
New York, NY 10016

Please include the email address which you have been contacted with.

Reply via email to