Using Images with a Style Sheet

With the advent of cascading style sheets (CSS), some capabilities that were previously unavailable or that required significant hand coding are now made easy through the various CSS interfaces of Expression Web 2. In the upcoming exercise, you will manipulate an image’s presentation by using CSS. Doing so keeps unnecessary code out of your page and ensures that the code that is there is modern, in keeping with W3C standards, and easily maintainable.

In this exercise, you will learn a few things that you can do with your style sheet and a simple image inserted into your page within the text content.

Important

In each of the following exercises, you will be adding and changing CSS code that’s directly entered onto the ...

Get Microsoft® Expression® Web 2 Step by Step now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.