There are three elements in the master page for this project: the static image banner across the top of the page, the tabs that let the user select different pages in the application, and the footer that displays the totals across the bottom of the page. We'll tackle them in order of complexity, starting with the simplest.
The banner is a very simple addition to the page. It spans the page width and shows a simple image and some text. You can see the markup that defines the banner in Listing 21-2.
Listing 21-2. Adding the banner to the master page
<%@ Master Language="C#" AutoEventWireup="true" CodeBehind="Site.master.cs" Inherits="TriathlonApp.Site" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 ...