DTP


 
Lively discussions on the graphic arts and publishing — in print or on the web


Go Back   Desktop Publishing Forum > General Discussions > Web Site Building & Maintenance

Reply
 
Thread Tools Display Modes
Old 01-29-2006, 09:10 AM   #1
dthomsen8
Member
 
dthomsen8's Avatar
 
Join Date: Aug 2005
Location: Philadelphia, PA 19130
Posts: 2,158
Default IE Save As vs. Cut & Paste DOCTYPES

I have been looking at a professionally done (supposedly) web site for a neighbor, and I tried getting the source of a few pages from the web, with two different results for the DOCTYPE:


Browser Internet Explorer 6.0 and "Edit > Save As":
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">

Browser Internet Explorer 6.0 "View > Source" and copy and paste into Metapad 3.5:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">


Their DOCTYPE of 3.2 is thoroughly antique, and using makes for lots of validation problems because 4.01 is the earliest HTML to recognize CSS. That said, why does the "Edit > Save As" change the setting to HTML 4.0 from the actual file HTML 3.2?

I would be curious to try this with Firefox or other browsers, but the result is interesting. There are other differences, perhaps more understandable, but how does IE choose HTML 4.0 Transistional, over other possible choices?
dthomsen8 is offline   Reply With Quote
Old 01-29-2006, 09:27 AM   #2
iamback
Member
 
iamback's Avatar
 
Join Date: Oct 2005
Location: Amsterdam, NL
Posts: 4,894
Default

Quote:
Originally Posted by dthomsen8
Browser Internet Explorer 6.0 and "Edit > Save As"
Internet Explorer often rewrites the source of a page if you use "Save as" - at least if you choose "Web page, complete".

Quote:
Originally Posted by dthomsen8
how does IE choose HTML 4.0 Transistional, over other possible choices?
Try all of "view source", Save as "Web page, complete" and Save as "Web page, HTML only". Also - more importantly, try the same with Mozilla or Firefox. You'll probably get a nice collection of different results - with the ones generated by Mozilla or Firefox a bit more reliable. Try any other browser you have available as well. Also, try both pages with embedded images, and ones without.

Can you give us the URLs of some pages you're looking at? (I wonder whether they actually have DOCTYPE statements in the first place?)

   
__________________
Marjolein Katsma
Look through my eyes on Cultural Surfaces (soon!), My ArtFlakes shop and Flickr.
Occasionally I am also connecting online dots... and sometimes you can follow me on Marjolein's Travel Blog
iamback is offline   Reply With Quote
Old 01-29-2006, 10:13 AM   #3
dthomsen8
Member
 
dthomsen8's Avatar
 
Join Date: Aug 2005
Location: Philadelphia, PA 19130
Posts: 2,158
Default Things to try!

Lots of things to try in your response. Perhaps I should start by putting up a test web site and running those trials.

I have been reluctant to post the URL for this neighbor's site, as I am sure they paid plenty to have a professionally done rewrite of the site, and now my neighbor maintains it, probably for free. Trying your suggested tests on his web site might not be wise, it is quite large.

He did appreciate it when I provided the Xenu link checking results, and I learned how to get Xenu to run to the end on a deceptively large web site.




Quote:
Originally Posted by iamback
Internet Explorer often rewrites the source of a page if you use "Save as" - at least if you choose "Web page, complete".

Try all of "view source", Save as "Web page, complete" and Save as "Web page, HTML only". Also - more importantly, try the same with Mozilla or Firefox. You'll probably get a nice collection of different results - with the ones generated by Mozilla or Firefox a bit more reliable. Try any other browser you have available as well. Also, try both pages with embedded images, and ones without.

Can you give us the URLs of some pages you're looking at? (I wonder whether they actually have DOCTYPE statements in the first place?)
dthomsen8 is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Preventing PDF file save Gershom Web Site Building & Maintenance 9 03-19-2007 09:56 PM
IDCS: copy>paste just frame content like in QX? ElyseC Print Design 8 06-15-2006 03:03 PM


All times are GMT -8. The time now is 06:33 PM.


Powered by vBulletin® Version 3.8.9
Copyright ©2000 - 2017, vBulletin Solutions, Inc.
Contents copyright 2004–2014 Desktop Publishing Forum and its members.