Creating master pages, CSS, skins and themes
Part one of a five-part series of blogs

How to create the perfect ASP.NET website, including using master pages, CSS style sheets, and whether to use skins and themes or not.

  1. Creating ASP.NET Websites using CSS and Master Pages (this blog)
  2. Creating an ASP.NET Website
  3. Creating and Using Master Pages
  4. Formatting Choices: HTML styles, Themes/Skins and CSS
  5. Creating and Applying CSS Style Sheets in ASP.NET

This blog is part of a larger online tutorial in ASP.NET. Wise Owl's main business is running classroom-based training courses - have a look at our other .NET courses.

Posted by Andy Brown on 01 May 2012

You need a minimum screen resolution of about 700 pixels width to see our blogs. This is because they contain diagrams and tables which would not be viewable easily on a mobile phone or small laptop. Please use a larger tablet, notebook or desktop computer, or change your screen resolution settings.

Creating ASP.NET Websites using CSS and Master Pages

The aim of this exercise will be to create the structure for our website:

The final system

Here's what we want each page of the website to look like - a simple title, followed by a white box on a blue background.


The best way to do this in ASP.NET is to create a master page and a style sheet, then apply the style sheet to the master page. 

This blog shows how (and why) to create master pages and style sheets; a separate blog explains in some detail how to write CSS style sheets.

We'll start with how to create an ASP.NET website in the first place!


This blog has 0 threads Add post