0

I see that the css property zoom: 1 is often used in stylesheets. For example twitter bootstrap uses it in its fluid layout:

.row-fluid {
  width: 100%;
  *zoom: 1;
} 

I know that it is primarily used for IE layout issues...

What is it actually used for and why? Is it only necessary to use it for fluid layouts?

ATOzTOA
  • 34,814
  • 22
  • 96
  • 117
David Van Staden
  • 1,739
  • 9
  • 34
  • 52

1 Answers1

1

http://reference.sitepoint.com/css/haslayout

in IE, some elements have no layout - which results in huge PITA in designing - so there are many non-intrusive ways to give them 'layout'. zoom: 1 is one of them.

thkang
  • 11,215
  • 14
  • 67
  • 83