John Campbell wrote:
Welcome to the world of web development.
Cross browser css development is plagued with problems. IE 6 is
consistently the worst offender.
Even something as simple as centering a block is different in IE, and
the standards compatible browsers. There are dozens of quirks, and it
is not something that is easy to learn, but I'll give you a few
pointers.
1) Make sure you have a doctype that put IE into "standards mode"
2) Get firebug and use the inspector to learn from other people's code.
3) Do some reading on "CSS columns", "CSS clear fix", "CSS centering",
"CSS IE bugs". There are tons of articles and blogs that contain
useful pointers.
4) Make sure you understand the box model inside and out.
Hope that helps,
-John Campbell
Great summary, John.
When you really decide you don't like yourself anymore, start reading up
on IE's "hasLayout" property.
Mark
_______________________________________________
New York PHP Community Talk Mailing List
http://lists.nyphp.org/mailman/listinfo/talk
NYPHPCon 2006 Presentations Online
http://www.nyphpcon.com
Show Your Participation in New York PHP
http://www.nyphp.org/show_participation.php