Using CSS with Web Forms UI Controls

We have the basic structure of our page in place, but the Web Forms design tools don't give us fine control over the layout unless we enable the absolute positioning option, which I really don't like. Instead, we will use CSS.

Visual Studio provides some basic tools for creating and managing CSS styles. You don't need to use these tools, but they are convenient and easy to apply, and they are visually and behaviorally consistent with the rest of Visual Studio.

images Note CSS is a broad topic. Here, we'll just cover some examples of its use with ASP.NET in Visual Studio. To learn more about CSS, I recommend reading ...

Get Applied ASP.NET 4 in Context now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.