NYCPHP Meetup

NYPHP.org

[nycphp-talk] CSS problem???

Mark Armendariz lists at enobrev.com
Sun Jul 27 15:59:27 EDT 2008


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



More information about the talk mailing list