Thursday December 07th 2006, 9:26
Filed under: Web Design
Filed under: Web Design
I read some posts, and found the best way to make a compatible css-file for both IE 6+7 and Firefox.Safari and Firefox on OSX reacts (almost) similar to Firefox on Windows.
It’s quite simple, and I’ve corrected IE 6 optimized sites in a matter of minutes.
This is the trick:
margin: 10px;
.margin: 10px; /* read by both IE 6 and 7 */
_margin: 10px; /* read by IE 6 only */
That’s basically it.
NOTE: Not W3C compliant stylesheet, but it will look great ![]()
Leave a comment
Leave a comment
Line and paragraph breaks automatic, e-mail address never displayed, HTML allowed:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>
You might consider splitting your .css files if you want W3C compliant styling.
Comment by mortenn 03.08.07 @ 13:59