This topic has been archived. It cannot be replied.
-
工作学习 / IT技术讨论 / 请教一个CSS的问题:我有一个HTML,头上有
<DOCTYPE ...='...DTD'>...
这时,CSS字体显示正常,
去掉后CSS的颜色等都对,就是字体小了一个SIZE(9变成8了)
另有一个文件,昨天还正常,今天不知道改了什么地方,字体总是小了一号....
先谢谢了.
-michaellucad(michaellucad);
2004-12-7
{210}
(#2018464@0)
-
I think one possibility is because of the DOCTYPE and found this:A missing DOCTYPE isn't a fatal error. Your page will still display in the browser, but maybe not how you expect. An incorrect DOCTYPE definition will often send the browser into something called "quirks mode."
-hillxie(阳光、绿地、鸽子);
2004-12-7
{213}
(#2018936@0)
-
Thanks. this CSS make me crazy....
-michaellucad(michaellucad);
2004-12-8
(#2019286@0)
-
I think the CSS code is innocent, it is more like a DocType issue, so please don't blame the CSS code. :)
-hillxie(阳光、绿地、鸽子);
2004-12-8
(#2019974@0)
-
my experience is using dreamwaver to do the html design job (handle doctype perfectly). Even if you do want to write html by hand, let dreamwaver give you a frame.
-elecskunk(elecskunk);
2004-12-7
(#2018971@0)
-
Thanks, I will try
-michaellucad(michaellucad);
2004-12-8
(#2019287@0)