posted on Thursday, February 03, 2005 6:42 PM
by
warstar
Make IE and Mozzilla look the same (2 tips)
Hi all,
So i was building my cms system and finally i found out what was wrong and why a site looked so mutch differend in IE then in Mozzila.
The problem is the Box model used by IE the official box model by W3C is with of the content but IE uses the width of the border.
To fix this is pritty easy just dump IE! No just kidding there is a very nice think make by Erik Arvidsson witch will make the images with borders look the same in IE and Mozzilla. The site where you can read about this is: http://webfx.eae.net/dhtml/boxsizing/boxsizing.html
Also what really f*c*s sites up is the user of the css properties 'font-size' used with one of the following values:
- xx-small
- x-small
- small
- medium
- large
- x-large
- xx-large
Just use number as values like '12px' or '16px'.
These 2 tricks really helped me create a system that makes the sites look almost the same.
Happy netting,
Warnar Boekkooi