Skip to Content
Learning ASP.NET 2.0 with AJAX
book

Learning ASP.NET 2.0 with AJAX

by Jesse Liberty, Dan Hurwitz, Brian MacDonald
September 2007
Beginner to intermediate
520 pages
16h 1m
English
O'Reilly Media, Inc.
Content preview from Learning ASP.NET 2.0 with AJAX

Chapter 6. Style Sheets, Master Pages, and Navigation

Back in the early mists of time, when the Earth was young and the Web was new (Circa 1994)we created web pages in HTML (HyperText Markup Language). After many eons (or so it seemed), we were able to add styles to the HTML elements, allowing us to take greater control over the presentation of web pages.

Eventually content (the HTML)was divided from presentation and layout through the use of styles, and that was good. In fact, it came to pass that presentation information was given its own file—a style sheet—to allow for reuse, a consistent presentation across many pages, and easier maintenance, and that was very good indeed.

Styles and style sheets are a significant, but often overlooked tool for web developers, too often ignored by “programmers” who disparage style sheets as being in the realm of “designers”—leading to the creation of web applications that are terribly difficult to maintain.

A new innovation for creating sites with a common look and feel across all of the pages are Master Pages, covered later in this chapter. Master Pages can easily contain menus and other navigational aids such as site maps and bread crumbs, and these too will be covered in this chapter.

Styles and Style Sheets

A style specifies how an object will be rendered to an output device, typically a browser. Styles can be used to manipulate the layout and appearance of controls and text, detailing every aspect from border color to font size.

Web applications ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

ASP.NET 2.0 Unleashed

ASP.NET 2.0 Unleashed

Stephen Walther
ASP.NET Developer's JumpStart

ASP.NET Developer's JumpStart

Paul D. Sheriff, Ken Getz
ASP.NET 4 Unleashed

ASP.NET 4 Unleashed

Stephen Walther, Kevin Hoffman, Nate Dudek

Publisher Resources

ISBN: 9780596513979Errata Page