browser optimization?

Sarutobi_Sasuke

New Member
Newbie in web design, having problem with various browsers (IE, FF, Chrome, Safari, etc), was wondering how to fix a multi-platform problem. I Have seen some code regarding various releases of IE but no idea how to implement it in the code, anyone have any experience with this?

appreciate any help,
thanks!
 

ancom

New Member
Keep your code clean, and you will avoid most of errors. Google "css reset" and apply some.
 

Edge

Member
Develop for Google Chrome and add fixes for other browsers. Use conditional comments to target IE7 and IE8.
 

Phreaddee

Super Moderator
Staff member
I hate css resets.
they add extra bloat to your page, and then you have to re-add the styles anyway so thats further bloat.

the only bit of a reset I ever really use is
body {margin:0;padding:0;}

smart css does not need a reset.

chrome is a good browser to test in.
do not worry about ie6 and check usage stats before bothering with ie7
ie8 and 9 need some love though, and can be targeted with conditionals.
 

chrishirst

Well-Known Member
Staff member
I hate css resets.
they add extra bloat to your page, and then you have to re-add the styles anyway so thats further bloat.

the only bit of a reset I ever really use is
body {margin:0;padding:0;}

smart css does not need a reset.

Amen to that! :D

I might do an occasional "global setting" of paddings and margins for div elements if the layout requires some sort of "precision".
 
Top