Jump to CSS Reference

Earlier this trimester you learned that the World Wide Web Consortium(W3C) is pushing webdesigners to use "style sheets" in their pages. Take 30 seconds to reread the W3C's thoughts on CSS. We are going to use your book and a couple of pages of my rambling to learn the basics of Cascading Style Sheets. Also, using Google wisely will lead you to many websites with tutorials on Cascading Style Sheets. You will then have some exercises that focus on techniques that CSS allows you to do that straight HTML will not let you do.

I encourage you to read the book's Cascading Style Sheets section, pages 55-82. If you have not done that, I encourage you to take your book home tonight and read those pages. They will give you a good introduction.

Now that you have read the book's introduction of Cascading Style Sheets(you have, haven't you?), let me give you my take on them. This is only my opinion. But, since I teach this class:), my opinion counts. Much of the use of style sheets appears to the novice to be a waste of time. To use style sheets, for example, to create a <span> tag to format a few words like the author suggests in parts of the book is no better than applying normal html font tags to those few words. I can see a value of the span tag if you are repeating that formatting many times over. In that regard, creating external style sheets(we will do it) that can pass the style along to any html document is very valuable. It allows you to write one page(external css document) that has all your styles on it. When you want to change the style of your website, you only have to adjust one page!!! I also like the new and creative ways style sheets allow you to format objects on your page. For example, CSS allows you to set "absolute and fixed position" of an object on a page. Therefore CSS allows you to overlap images for an artistic effect or to position something exactly where you want it.

For example, don't you think it's really cool that my heads overlap. Very artsy, fartsy, huh?? Well, maybe not, but you will find design problems where you want to position something in a spot where html will not let you. CSS to the rescue!!

So, we are going to focus on using styles for effects like the one above that can't be done in plain html. Along the way you will discover the basics of how to set up different style properties and you may decide to do all your work in style sheets. If so, you are on your way to be a stylin' dude or dudette.

Next>>
Index Basic Tags Links Design Layout Tables Image File Types Using Images Image Editing Lists Frames