Virtual Mechanics: Community Forums and FAQs
Virtual Mechanics: Community Forums and FAQs
Feature Requests
Ability to Change DOCTYPE declaration|
Go
![]() |
New
![]() |
Find
![]() |
Notify
![]() |
Tools
![]() |
Reply
![]() |
|
|
Working Mechanic |
I have seen some information on the forum regarding the lack of ability to change the DOCTYPE declaration through SiteSpinner, but nothing concrete if this is on the list of things to add to a future release of SS.
I recently ran into a situation where I needed to change the doctype to accomodate a problem with Opera 9.x displaying content incorrectly. I really did not want to manually edit 25 pages, but I had no choice. I think that this feature (changing doctype in SS) needs to be given serious consideration and moved up the list. |
||
|
Guru 'Power' Mechanic![]() |
You can add a DOCTYPE declaration via a code object with a Geometry name of TOPMOST. However it results in two DOCTYPEs at the head of the page (a Bad Thing), so I would use it in only during development, and manually make the proper change after final publish.
I would be very cautions about changing the DOCTYPE. I suggested an innocuous change recently to accommodate a CSS menu, and it turned out to break some of the animation feature of SSPro. So I suggest that if you do decide to change the DOCTYPE, that you check that your page still functions correctly in all the main browsers. |
|||
|
|
Working Mechanic |
Thanks for the reply Brucee. I did read about using the TOPMOST option on a forum post, but I would still need to modify the file(s) to remove the other declaration.
I was having a problem specific to Opera 9 and did find a doctype recommended on the W3C website that fixed the issue. I did test out my pages (with the new declaration) and they work in IE, FF and Opera. I haven't noticed anything strange. I too am always concerned when I change something from the "norm", but I felt OK about it since this doctype was on the W3C website. I am a little uneasy when I don't completely understand something. Here is the change I made: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> Update: I did find this website that has a nice explanation regarding doctype: Doctype explanation This message has been edited. Last edited by: Mitch, |
|||
|
| Powered by Eve Community |
| Please Wait. Your request is being processed... |
|
Virtual Mechanics: Community Forums and FAQs
Virtual Mechanics: Community Forums and FAQs
Feature Requests
Ability to Change DOCTYPE declaration
