Differences between revisions 1 and 2
Revision 1 as of 2011-02-17 08:52:40
Size: 153
Editor: SamatJain
Comment: Ems for block widths
Revision 2 as of 2011-02-18 00:32:16
Size: 430
Editor: SamatJain
Comment: Clearfix
Deletions are marked like this. Additions are marked like this.
Line 8: Line 8:

== Clearfix ==

[[http://www.positioniseverything.net/easyclearing.html|Clearfix]] is the original method for clearfix. At [[http://blogs.sitepoint.com/2005/02/26/simple-clearing-of-floats/|SitePoint]], apparently using `overflow: auto` also works for container elements.

Ems for block widths

  • 40em =~ 640px
  • 50em =~ 800px
  • 64em =~ 1024px

from Responsive enhancement

Clearfix

Clearfix is the original method for clearfix. At SitePoint, apparently using overflow: auto also works for container elements.

SamatsWiki: CascadingStyleSheets (last edited 2021-11-03 07:16:48 by SamatJain)