ClearFix


 / Published in: CSS
 

  1. .ClearFix:after{
  2. content:".";
  3. display:block;
  4. height:0;
  5. clear:both;
  6. visibility:hidden;
  7. }
  8.  
  9. /* WinIE7 only */
  10. *:first-child+html .ClearFix{
  11. height:1%;
  12. }
  13.  
  14. /* WinIE6 and below */
  15. /*¥*/
  16. * html .ClearFix{
  17. height:1%;
  18. }
  19. /**/
  20.  
  21. /* MacIE only */
  22. /*¥*//*/
  23. .ClearFix{
  24. display:inline-table;
  25. }
  26. /**/

Report this snippet  

Comments

RSS Icon Subscribe to comments
Posted By: shapeshifta on March 27, 2010

MacIE ... lol :) is anyone still using it?

it's better to use /sets hasLayout/ * html .clearfix, +html .clearfix {display:inline-block;} /hasLayout still set*/ * html .clearfix, *+html .clearfix {display:block;}

Works perfect! ;)

Posted By: uggbootsshoessale on September 14, 2010

If you want to know where to buy UGG boots,I recommend you here to orderboots shoes ,ugg 5833,red boots,cheap brown boots,grey boot,ugg,where to buy boots,pink boots for women,cozy boots,ugg boots,classic crochet tall,ugg 5815 boots,woman boots,boot chocolate,classic knit,cheap fashion boots,classic tall 5815,long black boots,black boots,ugg 5879,cheap flat boots,ugg classic tall 5815,black shoe boots,argyle knit,classic argyle knit,flat boots,leggings and boots,big boots,knit argyle,classic argyle knit boots,classic boot,ugg 5815,boot for women,buy ugg boots,ugg classic argyle knit ,over the knee boots,waterproof leather boots,cheap over the knee boots,mini boots,classic mini boot,short boot,waterproof sheepskin boots,boot on sale,buy leather boots,classic sheepskin,boots on line,classic tall metallic,lace up boots,boots on sale,classic mini,fashion boots,cheap fur boots,boot for sale,boots sale,cheap winter boots,black leather boots,fur boots,ankle boots,boots store,discount winter boots,short sand,waterproof winter boots,boots that are in style,2010 ugg boots,classic mini for sale,high leather boots,golden boot,style boots,ugg boots 2010,buy classic mini,ugg 5825 boots,gold boots,tall sheepskin boot,classic crochet,classic sheepskins,pink in boots,gold ankle boots,boots and all,classic crochet boots,comfortable boots,knee boots,bailey button boot,tall boots,womens boots on sale,short leather boots,short classics,pink fur boots,tall boots on sale,boots for sale,best winter boots,ugg 5825,snow boot,snow wear,boots in sale,knee high boots,ugg classic short 5825,bailey button 5803,fall boots,short boots,boat shoes,classic short 5825,bailey button chocolate,boots shoe stores,classic boots,blue boots,boots usa,ugg 5803,patent boots,ugg australia,boots online,australia classic short boots,ugg bailey button 5803,patent leather boots,classic tall,womens boot,winter boots,black knit boots,love from australia,discount ugg boots,furry boots for women,winter boots for women on sale,shop for boots,boot uk,ugg company ,cheap tall boots,winter boots on sale,woman boots on sale,hot boots,ugg 2010,girls boots,boot shop,womens shoes boots,shoes australia,ugg discount boots,thigh boots,knitted boots for women,boots shop ,kid classic,ugg bailey button,thigh high boots,classic cardy 5819,classic sheepskin boots,new boots,cheap womens boots,fur boots cheap,australia classic cardy boots,boots to buy,boots with the fur,discount womens boots,waterproof boots,australia classic cardy,buy boots,grey boots for women,womens boots,thigh high boots for women,classic cardy black,fur boots for women,grey boots on sale,cheap leather boots,cheap furry boots,australia cardy classic boot,green boots,boots on sales,discount leather boots,full fur boots,ugg 5819 boots,boots with fur,boots sales,leather boots,ugg 5819,female boots,boots and more,ugg australia boots,crochet boot,ugg classic cardy 5819,real fur boots,womens boots and shoes,uggstore,fur boots on sale,grey cardy boots,cheap thigh high boots,long boots,kids snow boots,ugg 5833 boots,<a href="http://www.uggbootsshoessale.com/ugg-classic-cardy-5819>cream boots,cheap knee high boots,button boot,snow boots for kids,cheap crochet boots,white boots,cheap snow boots,pink boots,uggs 2010,crochet boots,black cardy boots,furry boot,leather boots on sale,uggs,boots uk,classic tall sand,ugg 5359,long leather boots,ugg boots discount,green ankle boots,red back boots,cheap grey boots,cheap ankle boots,cheap ugg boots.Thanks for sharing the information!

Posted By: liangliang on September 20, 2010

abercrombieandfitch.com Men Abercrombie Tees

[url=http://www.abercrombiefitchstyle.com/>[b]abercrombieandfitch.com[/b]][b]Men Abercrombie Tees[/b][/url] [url=http://www.abercrombiefitchstyle.com/>[b]Abercrombie[/b]][b]Mens Abercrombie Outerwears[/b][/url]

abercrombieandfitch.com Men Abercrombie Tees

Posted By: alizabed on September 27, 2010

SEO India - Get good [url=http://www.seobless.com/]seo services[/url] from SEO company in India,USA,UK. If you need SEO services, organic SEO & managed search engine marketing call us +91.8013242527

Posted By: alizabed on September 27, 2010

When a float is contained within a container box that has a visible border or background, that float does not automatically force the container's bottom edge down as the float is made taller. Instead the float is ignored by the container and will hang down out of the container bottom like a flag. Those familiar only with Explorer for Windows may scratch their heads and say "That's not right!" True, IE/Win does enclose a float within a container 'automatically', but only if the container element happens to possess the MS-only quality called hasLayout.SEO India - Get good seo services from SEO company in India,USA,UK. If you need SEO services, organic SEO & managed search engine marketing call us .

Posted By: Hearingloss on February 26, 2011

Whether you have worked with this code

Posted By: HearingAids on February 28, 2011

Did you havc time to check out this snippet?

Posted By: HearingTreatment on March 5, 2011

What kind of modification did you need from this code?

Posted By: TinnitusTreatment on March 5, 2011

Please let us what does code mean?

Posted By: HearingTreatments on March 7, 2011

Explain your code in detail to us

Posted By: SuddenHearingLoss on March 8, 2011

Please explain you code in detail

Posted By: SensorineuralHearingLoss on March 10, 2011

Could you please explain the details in a detailed manner

Posted By: Presbycusis on March 11, 2011

How is your code working on?

Posted By: NoiseInducedHearingLoss on March 11, 2011

could you tell wt details u need for this code?

Posted By: ConductiveHearingLoss on March 11, 2011

tell the details about code?

You need to login to post a comment.