Expression Web
The basics and beyond

Exercise Code

The code used in this book is available for the following chapters:

All files Zip

 

Chapter 5

It is virtually impossible to create a good looking website today without using Cascading Style Sheets (css) Certainly it would be very difficult to do so in Expression Web.

This chapter gives you an introduction to css. While this chapter is does not cover everything you will need to know about css it will help you to understand the basics.

In the next couple of chapters we will use the tools in Expression Web to help you create your website styles.

Exercises

Files are the raw code used in the exercises while Examples are the completed file. (Note some browser may display the text files as if they were html. If that happens to you, use "view source" in your browser to copy the text or in Internet Explorer right click and use "save target as".)

* July 27, 2007 - the browser-text.txt and Default Browser Test files have been updated to fix an issues with the code format that was preventing the text from wrapping with whitespace: pre set.

Files Examples
cascade.txt Cascade Example
browser-text.txt Default Browser Test
external.css Cascade Example 5-3
  Cascade Example 5-4
  Cascade Example 5-5
  Cascade Example 5-6
Link Test Link Test
Link_Test-2 Link Test 2
overlapping_for_effect.txt Overlapping for Effect
contextual_selectors.txt Contextual Selectors
position-relative.txt Position: Relative

Chapter 5 zip file