Styling ASP.NET Controls by Using CSS

To complicate the customization of SharePoint pages further, most of the content on these pages is rendered via controls. These controls will be explored in more depth in Chapter 6, but in order to understand how the styles work in SharePoint, it is necessary that you have at least a general understanding of how controls work. A control is an object that can be inserted into a page and that contains all of the code necessary to make it look and act the way a designer or developer wants it to.

When a control is inserted on a page, there is different markup (design-time markup) than that which renders when the page is browsed (run-time markup). What this distinction means is that you cannot simply add a class ...

Get Building Web Applications with Microsoft® Office SharePoint® Designer 2007 Step by Step now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.