• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint

Quit Making Me Quirky!

You’re familiar with doctype switching, right? This is the way that modern browsers (i.e., Internet Explorer and Netscape version 6 and later browsers as well as Safari) render the page in a strict standards-based compliance mode or in a looser, so-called quirks mode, depending on the document type declared. Seems like there’s another wrinkle for those designers creating XHTML-compliant pages. In the previous version Dreamweaver included the XML encoding declaration at the top of every XHTML page. Unfortunately, this threw Internet Explorer 6 into quirks mode, which causes the page to render differently than it should. You’ll be happy to know that with Dreamweaver MX 2004, you no longer have a to worry about XML encoding declarations hanging over your <head>—they are no longer automatically inserted. (And for those dealing with legacy pages, there’s a pot of gold waiting for you at DreamweaverFAQ.com. Co-author Angela Buraglia has developed an extension called Strip <?xml?> Tag that zaps that quirk-causing code automatically. It works for HTML and PHP files but magically leaves XML files untouched—best of all, it’s free! Go grab yourself some gold at http://www.dwkillertips.com/go/22.)

  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint