Accessibility

Dreamweaver Article

 

Understanding Inheritance


Adrian Senior

Adrian Senior

www.webade.co.uk
www.communitymx.com
www.ukcsstraining.co.uk

Table of Contents

Created:
24 July 2006
User Level:
Beginner

Certain properties in a cascading style sheet (CSS) inherit (read assume) the values of their parent. For example, if you have an h1 element that is colored black and that h1 element has a nested span within it, then by default the span will also be black—it inherits the color value from its h1 parent.

In this article you will discover how you can use inheritance to optimize your CSS file.

Requirements

To complete this tutorial you will need to install the following software and files:

Dreamweaver 8

Sample files:

Prerequisite Knowledge

Basic knowledge of using Dreamweaver and CSS.

About the author

Adrian Senior owns the UK-based web design agency Webade, which has been in business since 1998. He is also a member of Team Macromedia and a partner at Community MX. The year 2004 saw Adrian's first trip to America, where he visited Orlando and delivered two sessions at the TODCon conference.

Adrian also provides training courses for companies who need to train their designers how to build compliant, accessible web sites using CSS and xhtml.

He's been married to his wife, Janette, for 24 years and has two children, Antony and Eleanor.