NYCPHP Meetup

NYPHP.org

[nycphp-talk] CSS problem???

John Campbell jcampbell1 at gmail.com
Mon Jul 28 10:28:58 EDT 2008


On Mon, Jul 28, 2008 at 6:57 AM, PaulCheung <paulcheung at tiscali.co.uk> wrote:
> John when you say - Make sure you have a doctype that put IE into "standards
> mode" I am not sure how to do that.
> Could either of you gve me snippets of coding so that I can see what these
> quirks, strict and standard mode locoding looks like.

This page has a pretty good summary:
http://www.ericmeyeroncss.com/bonus/render-mode.html

Use
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/REC-html40/strict.dtd">
or
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/xhtml1-strict.dtd">

Depending on whether you prefer XHTML or HTML.

Regards,
John Campbell



More information about the talk mailing list