If you are working with site definition in Sharepoint, maybee you would like to change the CSS style. In the Sharepoint documentation, it is specified the add ‘AlternateCSS’ attribute in the main tag ’Project’ of the ONET.XML.
So, as I tried and NOTHING changed !
When you look at ‘default.aspx’ root file in your site definition folder, you will find :
<Link REL=”stylesheet” Type=”text/css” href=”/_layouts/<%=System.Threading.Thread.CurrentThread.CurrentUICulture.LCID%>/styles/ows.css” mce_href=”/_layouts/<%=System.Threading.Thread.CurrentThread.CurrentUICulture.LCID%>/styles/ows.css” >
….whereas, in an administrator page as ’settings.aspx’ (from _layouts/….), you will find something like this (and it works) :
<SharePoint:CssLink DefaultUrl=”/_layouts/<%=System.Threading.Thread.CurrentThread.CurrentUICulture.LCID%>/styles/ows.css” runat=”server”/>
So, a solution is to replace the first version with the second in all files from site definition’s hierarchy (101 files should be updated for a total of 141).