Tuesday, June 14, 2005

AlternateCSS, SharePoint:CssLink control and FrontPage 2003

Todd wrote an article a while ago about how you can get the AlternateCSS attribute of the project element in ONET.XML to work - basically you have to replace the hard coded stylesheet link in the aspx pages with the <SharePoint:CssLink DefaultUrl="/_layouts/1033/styles/ows.css" runat="server"/> control. Remember always create a new custom site definition when doing this - see Creating a site definition from an existing site definition. Unfortunately when you open a site based on the altered aspx file in FrontPage 2003, the stylesheet is not shown correctly (... or not at all for that matter)

No comments: