November 18, 2004

Hey James, would you be so kind and fix the CSS on this page so that FireFox will see it correctly?
I think this might help:

- the difference is the CSS box model.

IE measures the width of an object from border to border, where Mozilla measures the width in terms of the content.

You can force Mozilla to measure it the same way by adding these to your style definitions.

Code:
-moz-box-sizing:border-box;box-sizing:border-box;


I'm more comfortable in measuring things from border to border, so all of my HTML/XHMTL templates have this definition...

Code:
DIV{-moz-box-sizing:border-box;box-sizing:border-box;margin:0;padding:0;}

No comments:

Post a Comment