I was having a look at the differences in the Styles used in SharePoint 2003 and SharePoint 2007. I discovered that whilst most of the CSS styles are available, many have been rewritten in SharePoint 2007. In addition to that, these styles have now been placed in different CSS files!
The 2003 Generation:
In WSSv2, all SharePoint styles are defined in OWS.CSS in the folder on the SharePoint host Server:
C:\Program Files\Common Files\Microsoft Shared\web server extensions\60\TEMPLATE\LAYOUTS\1033\STYLES\OWS.CSS
In SharePoint Portal 2003, in addition to the styles in WSSv2, extra styles are defined in SPS.CSS in:
C:\Program Files\Common Files\Microsoft Shared\web server extensions\60\TEMPLATE\LAYOUTS\1033\STYLES\SPS.CSS
The 2007 Generation:
In WSSv3, all SharePoint styles are defined in CORE.CSS in the folder on the SharePoint host Server:
C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\TEMPLATE\LAYOUTS\1033\STYLES\CORE.CSS
In MOSS 2007, in addition to the styles in WSSv3, extra styles are defined in PORTAL.CSS in:
C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\TEMPLATE\LAYOUTS\1033\STYLES\PORTAL.CSS
I also found in the folder, a group of other CSS files...
* Calendar.CSS
* Control.CSS
* Core.CSS
* datepicker.CSS
* EWRDefault.CSS
* Help.CSS
* HtmlEditorCustomStyles.CSS
* HtmlEditorTableFormats.CSS
* Menu.CSS
* OWSNOCR.CSS
* PORTAL.CSS
* RCA.CSS
* SiteManagerCustomStyles.CSS
Where else could CSS call a home?
In SharePoint 2007, theres an ability to package your page layouts, site templates, etc as a Feature. In the following folder, you may find the CSS style sheets to such Features:
C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\TEMPLATE\FEATURES\PublishingLayouts\en-us
CSS Styles...
Wondering what styles are for, and how they look like? Heather Solomon's written some references for these styles for both SharePoint 2003 and SharePoint 2007.
SharePoint 2003 CSS Reference Chart
http://www.heathersolomon.com/content/sp03cssreference.htm
SharePoint 2007 CSS Reference Chart
http://www.heathersolomon.com/content/sp07cssreference.htm
No comments:
Post a Comment