O'Reilly logo

Microsoft® SharePoint® Designer 2010 Unleashed by Kathy Hughes

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

How SharePoint References CSS

A key consideration when working with SharePoint CSS is in how SharePoint references CSS files. By default, SharePoint master pages use a SharePoint control named <SharePoint:CssLink> to retrieve uncustomized CSS files, including corev4.css, from the Web front-end server. In addition, when you create custom CSS files, you also reference those files in the <head> section of the site’s master page using relative links. When you add links to a master page to reference CSS files, you are referencing external CSS files—either on the Web front-end server or in the site collection’s Style Library.

However, SharePoint also uses internal and inline CSS in Wiki pages, page layouts, and master pages. For example, the v4.master ...

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