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
  • 32,738
  • 21
  • 92
  • 115
David Van Staden
  • 1,669
  • 8
  • 34
  • 51

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
  • 10,747
  • 12
  • 62
  • 81