[TYPO3-core] RFC: Bug 5678: Missing clearer div in csc-textpic-intext-left/csc-textpic-intext-right

Patrick Broens patrick at netcreators.com
Wed Apr 14 09:42:21 CEST 2010


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 14-4-2010 9:26, Dmitry Dulepov wrote:
> Hi!
> 
> Dmitry Dulepov wrote:
>>> Is there a CSS guru who can supply the correct styling to solve this
>>> without a clearing div?
>>
>> Sebastian already did.
> 
> By the way:
> http://carsonified.com/blog/design/everything-you-know-about-clearfix-is-wrong/

Your example is somehow different than I normally use.

There is an article from 2005(!) here:
http://www.sitepoint.com/blogs/2005/02/26/simple-clearing-of-floats/

Have a look at solution d) and his comments on it. Makes perfect sense.
This solution goes way back to IE4

Only the outer div needs an overflow: auto;. Worked for me in several
projects, but I sometimes forget it was that easy. I have to get back to
the install tool to fix this ;-)

Patrick

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkvFcd0ACgkQNgvIvIQSN/y5UgCfYyG9a5uwMf92lWafpgC+0CUS
7B0AoJBMvk8u384ewImDwcz1RQ9piK4D
=oynG
-----END PGP SIGNATURE-----


More information about the TYPO3-team-core mailing list