© Robert E. Beasley 2020
R. E. BeasleyEssential ASP.NET Web Forms Developmenthttps://doi.org/10.1007/978-1-4842-5784-5_18

18. Themes

Robert E. Beasley1 
(1)
Franklin, IN, USA
 

18.1 Introduction

A theme allows us to define, in one place, the default display characteristics of a Web application’s page controls so that they have a consistent appearance within a single page and across multiple pages. In an ASP.NET Web application, themes are defined in a special directory called App_Themes. A single theme, which is itself a directory within the App_Themes directory, contains zero or more skin files and zero or more cascading style sheet (css) files.

In this chapter, we will begin by adding a theme to a project. As we will see, adding a theme to a project ...

Get Essential ASP.NET Web Forms Development: Full Stack Programming with C#, SQL, Ajax, and JavaScript 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.