473,323 Members | 1,570 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,323 software developers and data experts.

No question. Just a comment on DOCTYPE!

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
Feb 6 '06 #1
10 1532
Deciding to do something for the good of humanity, Simon Dean
<sj****@simtext.plus.com> declared in
comp.infosystems.www.authoring.stylesheets:
Setting the DOCTYPE. The difference it makes just including that line:


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

--
Mark Parnell

I give up:
http://blinkynet.net/comp/uip5.html
Feb 6 '06 #2
Mark Parnell <we*******@clarkecomputers.com.au> wrote in
news:1b****************@markparnell.com.au:
Deciding to do something for the good of humanity, Simon Dean
<sj****@simtext.plus.com> declared in
comp.infosystems.www.authoring.stylesheets:
Setting the DOCTYPE. The difference it makes just including that
line:


http://gutfeldt.ch/matthias/articles/doctypeswitch.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
Feb 7 '06 #3
Stan McCann wrote:
Mark Parnell <we*******@clarkecomputers.com.au> wrote in
news:1b****************@markparnell.com.au:
Deciding to do something for the good of humanity, Simon Dean
<sj****@simtext.plus.com> declared in
comp.infosystems.www.authoring.stylesheets:
Setting the DOCTYPE. The difference it makes just including that
line:

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


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


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
Feb 7 '06 #4
Deciding to do something for the good of humanity, Lachlan Hunt
<sp***********@gmail.com> declared in
comp.infosystems.www.authoring.stylesheets:
Stan McCann wrote:
Thanks for that link Mark. I may make that required reading in my web
development classes.


You're teaching web development and you mean that you didn't even know
about DOCTYPE switching until now?!


I understood Stan's comment to mean simply that he hadn't seen that page
before, and that it was a good explanation of the doctype switching
issue. Not that he wasn't aware of doctype switching. I could be wrong,
of course. :-)

--
Mark Parnell

I give up:
http://blinkynet.net/comp/uip5.html
Feb 7 '06 #5
Mark Parnell wrote:
Deciding to do something for the good of humanity, Lachlan Hunt
<sp***********@gmail.com> declared in
comp.infosystems.www.authoring.stylesheets:
Stan McCann wrote:
Thanks for that link Mark. I may make that required reading in my web
development classes.

You're teaching web development and you mean that you didn't even know
about DOCTYPE switching until now?!


I understood Stan's comment to mean simply that he hadn't seen that page
before, and that it was a good explanation of the doctype switching
issue. Not that he wasn't aware of doctype switching. I could be wrong,
of course. :-)


In his initial message in this thread, he stated (emphasis added):

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

--
Lachlan Hunt
http://lachy.id.au/
http://GetFirefox.com/ Rediscover the Web
http://GetThunderbird.com/ Reclaim your Inbox
Feb 7 '06 #6
Lachlan Hunt wrote:
Mark Parnell wrote:
Deciding to do something for the good of humanity, Lachlan Hunt
<sp***********@gmail.com> declared in
comp.infosystems.www.authoring.stylesheets:
Stan McCann wrote:
Thanks for that link Mark. I may make that required reading in my
web development classes.
You're teaching web development and you mean that you didn't even
know about DOCTYPE switching until now?!


I understood Stan's comment to mean simply that he hadn't seen that page
before, and that it was a good explanation of the doctype switching
issue. Not that he wasn't aware of doctype switching. I could be wrong,
of course. :-)


In his initial message in this thread, he stated (emphasis added):


Oh, crap! My mistake. It was "Simon Dean" who said that, and "Stan
McCann" that I was replying to. It helps when I wear my glasses, but I
swear I thought they were sent by the same person. :-D

--
Lachlan Hunt
http://lachy.id.au/
http://GetFirefox.com/ Rediscover the Web
http://GetThunderbird.com/ Reclaim your Inbox
Feb 7 '06 #7
Lachlan Hunt <sp***********@gmail.com> wrote in
news:43**************@gmail.com:
Stan McCann wrote:
Mark Parnell <we*******@clarkecomputers.com.au> wrote in
news:1b****************@markparnell.com.au:
Deciding to do something for the good of humanity, Simon Dean
<sj****@simtext.plus.com> declared in
comp.infosystems.www.authoring.stylesheets:

Setting the DOCTYPE. The difference it makes just including that
line:
http://gutfeldt.ch/matthias/articles/doctypeswitch.html :-)
Thanks for that link Mark. I may make that required reading in my
web development classes.


You're teaching web development and you mean that you didn't even
know about DOCTYPE switching until now?! Oh well, I guess that


I knew of doctype switching and have read a number of things on it.
The link Mark provided is a very well written piece that explains it
very well.
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).


But you are right that many classes are being taught where the teacher
knows very little of the subject. I've done it myself barely staying
ahead of the students studying up out of one book. I don't like doing
that.

--
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
Feb 7 '06 #8
Lachlan Hunt <sp***********@gmail.com> wrote in
news:ZX******************@news-server.bigpond.net.au:
Lachlan Hunt wrote:
Mark Parnell wrote:
Deciding to do something for the good of humanity, Lachlan Hunt
<sp***********@gmail.com> declared in
comp.infosystems.www.authoring.stylesheets:
Stan McCann wrote:
> Thanks for that link Mark. I may make that required reading in
> my web development classes.
You're teaching web development and you mean that you didn't even
know about DOCTYPE switching until now?!

I understood Stan's comment to mean simply that he hadn't seen
that page before, and that it was a good explanation of the
doctype switching issue. Not that he wasn't aware of doctype
switching. I could be wrong, of course. :-)


In his initial message in this thread, he stated (emphasis added):


Oh, crap! My mistake. It was "Simon Dean" who said that, and "Stan
McCann" that I was replying to. It helps when I wear my glasses,
but I swear I thought they were sent by the same person. :-D


It's OK, many of us are suffering from CRS these days. :)

--
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
Feb 7 '06 #9
Lachlan Hunt wrote:
Lachlan Hunt wrote:

In his initial message in this thread, he stated (emphasis added):

Oh, crap! My mistake. It was "Simon Dean" who said that, and "Stan
McCann" that I was replying to. It helps when I wear my glasses, but I
swear I thought they were sent by the same person. :-D


I personally have been aware of DOCTYPE for quite a long time. I just
havent been aware of its significance until I've switched to more
standards compliant web development where I actually needed that solution.

Can't blame an old lover of tables can you...

I am mending my ways.
Feb 7 '06 #10
Jerk

Feb 9 '06 #11

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Brian K | last post by:
I am new to Apache Batik and I am now doing a SVG Editor for my project. I use Java as programming language. I use Batik to generate the SVG from Java Graphics2D, as I would like to transform...
6
by: S'fly | last post by:
Hi, I'm struggling with the famous "gatekeeper" a little. Normally, it opens in a popup window, and from there it goes on. But I like this script to open in an iframe, and not in a popup. It...
9
by: beguigne | last post by:
Below is a snippet of a crude date picking routine for a form. I am a novice at this so, I am hitting my head at why when I select the day, the onChange event gives me a blank. What am I missing?...
11
by: Dennis | last post by:
Please bear with me ... I am a newbie to DIVs. Why does the following work in IE6, but not in NS7? ><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> ><HTML> > ><HEAD> > <META...
5
by: Viken Karaguesian | last post by:
Hello everyone, I have a question about the XHTML doctype. I often times see this statement included in the <html> tag: <html xmlns="http://www.w3.org/1999/xhtml"> If I use the full...
13
by: Eric_Dexter | last post by:
All I am after realy is to change this reline = re.line.split('instr', '/d$') into something that grabs any line with instr in it take all the numbers and then grab any comment that may or may...
20
by: Deborah | last post by:
I'm trying to clean up my website, and it's in pretty good shape now, but I've gotten confused reading about Doctypes. My site is http://www.simi-therapy.com and my CSS is...
2
by: jluo | last post by:
Hi all, Need some help here. I'm using these in a xsl: ~~~~~~~~~~~~~~~ <?xml version="1.0" encoding="ISO-8859-1"?> <xsl:stylesheet version="1.0"...
5
by: =?Utf-8?B?SmVzc2ljYQ==?= | last post by:
Hello, I have a pInvoke question. This is the C function that is exported from one of the C dll, extern __declspec(dllexport) IM_RET_CODE ST_import (IM_MODE mode, char *filename,...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.