Is CSS Reset Required for Cross Browser CSS?

I am trying to create a decent cross-browser CSS framework for my next project, because my last one had a whole bunch of PHP / CSS hackers (such terrible things like class="blah<?=isIe()?>"). I would like to do it "right." I considered this question , which did not cause much interest, so I would like to narrow it down: CSS reset, necessary for cross-browser formatting? What about doctype? If you use

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">

or what? Also, does anyone have an understanding of the usefulness of Blueprint ?

+5
source share
3 answers

CSS reset , . , .

, - , ( IE) -. CSS-, . , IE, , . PHP.

<!--[if IE 6]>
    <link rel="stylesheet" type="text/css" href="ie6.css" />
<![endif]-->

"lt" < "gt" > .

<!--[if lt IE 7]>
    <link rel="stylesheet" type="text/css" href="ie6.css" />
<![endif]-->

CSS reset 99% .

Yahoo . http://developer.yahoo.com/yui/3/cssreset

+5

CSS Reset , .

Doctype, Quirks . HTML 4.01 Strict Doctype, , , HTML, .

+8

CSS reset . , .. . , CSS, , CSS reset, , , , :)

YUI CSS , Blueprint, ;)

+1

All Articles