Andreas Boehmer wrote:
Can you give an example of where standard-compliant browsers expand the outer container with a float as content?

I believe Roger pointed to the almost perfect example: < http://www.complexspiral.com/publications/containing-floats/ >

Myself, being a "heavy user" of floats, simply forgot to point to the
obvious: floats will expand to contain floats, unless we fix the
container's dimensions in such a way that the content-float overflow its
container.

- Standard compliant browsers will respect the dimensions first, and
expand to contain other floats if allowed to.
- IE/win will need some negative margins on the content-float, to reduce
its actual dimensions, or dimensions set on the floating outer container
will not be respected.
Example: http://www.gunlaug.no/contents/wd_1_02_03.html

regards
        Georg
******************************************************
The discussion list for  http://webstandardsgroup.org/

See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list & getting help
******************************************************



Reply via email to