没有问题。只是评论DO​​CTYPE! [英] No question. Just a comment on DOCTYPE!

查看:71
本文介绍了没有问题。只是评论DO​​CTYPE!的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在享受样式表......只是意识到要获得的主要内容之一

IE和Firefox以相似的方式解读页面...


设置DOCTYPE。它只包括那条线的区别:


<!DOCTYPE HTML PUBLIC" - // W3C // DTD HTML 4.01 // EN"

http://www.w3.org/TR/html4/strict.dtd">


它震撼了两个浏览器,突出了代码中的所有缺陷!


耶!没有更多的桌子了!


Cya

Simon

Im enjoying stylesheets... just realised one of the major things to get
IE and Firefox interpreting the pages in a fairly similar way...

Setting the DOCTYPE. The difference it makes just including that line:

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

It shakes up both browsers and highlights all the flaws in your code!

Yay! No more tables!

Cya
Simon

推荐答案

决定做为了人类的利益,Simon Dean

< sj **** @ simtext.plus.com>在

comp.infosystems中声明。 www.authoring.stylesheets:
Deciding to do something for the good of humanity, Simon Dean
<sj****@simtext.plus.com> declared in
comp.infosystems.www.authoring.stylesheets:
设置DOCTYPE。它只包括那一行的区别:
Setting the DOCTYPE. The difference it makes just including that line:


http://gutfeldt.ch/matthias/articles/doctypeswitch.html :-)

-

Mark Parnell


我放弃了:
http ://blinkynet.net/comp/uip5.html



http://gutfeldt.ch/matthias/articles/doctypeswitch.html :-)

--
Mark Parnell

I give up:
http://blinkynet.net/comp/uip5.html


Mark Parnell< we ******* @ clarkecomputers.com.au>写在

新闻:1b **************** @ markparnell.com.au:
Mark Parnell <we*******@clarkecomputers.com.au> wrote in
news:1b****************@markparnell.com.au:
决定做一些有益于人类的事,Simon Dean
< sj **** @ simtext.plus.com>在
comp.infosystems中声明。 www.authoring.stylesheets:
Deciding to do something for the good of humanity, Simon Dean
<sj****@simtext.plus.com> declared in
comp.infosystems.www.authoring.stylesheets:
设置DOCTYPE。它的区别只包括
行:
Setting the DOCTYPE. The difference it makes just including that
line:



http://gutfeldt.ch/matthias/articles/doctypeswitch.html : - )




感谢您的链接标记。我可以在我的网站上进行必要的阅读

开发课程。


-

Stan McCann,Uncle Pirate http://stanmccann.us/

网站站长,Alamogordo的NMSU http://alamo.nmsu.edu/

现在阻止Google Grouper帖子和回复。
http://blinkynet.net/comp /uip5.html



Thanks for that link Mark. I may make that required reading in my web
development classes.

--
Stan McCann, "Uncle Pirate" http://stanmccann.us/
Webmaster, NMSU at Alamogordo http://alamo.nmsu.edu/
Now blocking Google Grouper posts and replies.
http://blinkynet.net/comp/uip5.html


Stan McCann写道:
Stan McCann wrote:
Mark Parnell< we ******* @ clarkecomputers。 com.au>在
新闻中写道:1b **************** @ markparnell.com.au:
Mark Parnell <we*******@clarkecomputers.com.au> wrote in
news:1b****************@markparnell.com.au:
决定为此做点什么善良的人性,Simon Dean
< sj **** @ simtext.plus.com>在
comp.infosystems中声明。 www.authoring.stylesheets:
Deciding to do something for the good of humanity, Simon Dean
<sj****@simtext.plus.com> declared in
comp.infosystems.www.authoring.stylesheets:
设置DOCTYPE。它的区别只包括
行:
Setting the DOCTYPE. The difference it makes just including that
line:


http://gutfeldt.ch/matthias/articles/doctypeswitch.html : - )



感谢您的链接Mark。我可以在我的网站开发课程中进行必要的阅读。



Thanks for that link Mark. I may make that required reading in my web
development classes.




你在教web开发,你的意思是你甚至都不知道

关于DOCTYPE切换到现在为止?!哦,好吧,我想这不应该让我感到惊讶,因为它让我感到恐惧,因为我的前任老师似乎都不知道。这让我想知道还有什么呢?b $ b没有被教,但是现在的网站确实应该是这样的。
开发课程(不只是在你的,而是在你的周围)世界)。


-

Lachlan Hunt
http://lachy.id.au/
http://GetFirefox.com/ 重新发现网页
http:// GetThunderbird .com / 回收收件箱



You''re teaching web development and you mean that you didn''t even know
about DOCTYPE switching until now?! Oh well, I guess that shouldn''t
surprise me nearly as much as it horrifies me, considering none of my
former teachers seemed to know either. It makes me wonder what else
isn''t being taught, but which really should be, in modern web
development classes (not just in yours, but all around the world).

--
Lachlan Hunt
http://lachy.id.au/
http://GetFirefox.com/ Rediscover the Web
http://GetThunderbird.com/ Reclaim your Inbox


这篇关于没有问题。只是评论DO​​CTYPE!的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆