The DOCTYPE tag and SharePoint Master Pages

I came across a new issue this week.  All of my custom master pages that I have done (including the base code I provide here) include a DOCTYPE tag that references the latest HTML specifications (<!DOCTYPE HTML PUBLIC “-//W3C//DTD HTML 4.01 Transitional//EN” “http://www.w3.org/TR/html4/loose.dtd”>).  Unfortunately, the master page file used by default for SharePoint (default.master) does not specify a DOCTYPE tag at all.   So when the browser page renders the code, it reverts to quirks mode, which renders the HTML according to old rules. Continue reading

Can’t unpublish a page? Not easily at least…

Today I came across what I believe to be a shortcoming with MOSS 2007. There doesn’t appear to be a way to quickly unpublish a page through the user interface. When you go to the settings for a page, you can choose to unpublish the version of the page, but if there are multiple versions of the page, then you have to go through and manually unpublish each version. Continue reading