O'Reilly logo

Practical SharePoint 2010 Branding and Customization by Erik Swenson

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Cascading Style Sheets

CSS is the method used to centrally manage all of the style attributes in SharePoint. There are many benefits to using CSS. One of these benefits is that instead of adding inline style properties to elements within the HTML, you can link off to external CSS files. Another benefit is if you need to make global changes to all sites and pages, you can simply edit the styles of the CSS and it automatically updates all areas where that CSS file is referenced and the class or ID is used. For example, if you remove all CSS references in SharePoint, then the site branding is stripped down to just text and icons, as shown in Figure 1-2.

Figure 1-2. SharePoint 2010 with no style sheets applied

Within the HTML of your content ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required