Microsoft Expression Web For Dummies

Overview

In earlier chapters in this book, we introduce you to some of the ways Expression Web uses styles to format elements on your page. In this chapter, we cover styles in depth-how to work with the styles that Expression Web writes into your site's code and how to build your own styles. We also guide you through the basics of using Cascading Style Sheets and introduce you to the Expression Web style tools. Understanding how CSS works requires grappling with a bit of code, but after you get comfortable with the CSS big picture, you find out just how powerful and handy the Expression Web CSS tools really are.

Tip 

The first several sections of this chapter cover the fundamentals of CSS: style sheets and how they cascade and style rules and how they work. If you're already CSS savvy and want to get right to using styles in Expression Web, you may want to skim the first part of this chapter and read the parts that aren't familiar. If you're a CSS newbie, however, we suggest that you read the entire chapter. And, if you're new to HTML, be sure to read through the first section in Chapter 14, in which we cover the basic HTML concepts you need to know to combine CSS with HTML.

Don't be surprised if you don't "get" CSS right away. This intermediate-level stuff takes time and practice to master. CSS is central to good Web design, which is why we encourage you, when you're ready, to take a deep breath and dive right in.

Miles of styles

Last time we checked our local technical bookstore, no fewer than five bookshelves were devoted to Cascading Styles Sheets. And Web sites abound that explain particular techniques for elegantly styling page elements with CSS-not to mention entire conferences dedicated to the meeting and brain melding of CSS masterminds. In this chapter, we introduce you to the basic concepts of CSS and show you how to work with styles in Expression Web, but we can't begin to do justice to this huge topic. Fortunately, you can find oodles of resources for getting the most from CSS, ranging from beginning-level tutorials to the nitpicky details of positioning page elements by using some of the more baffling CSS properties. Here are a few suggestions to get you started:

If you prefer to let your computer do the walking, check out these online CSS tutorials:

Категории