Dreamweaver:Cascading StyleSheets
Goals of the Workshop
This workshop seeks to introduce participants to Cascading Style Sheets (CSS) and howto apply them using Dreamweaver MX. At the conclusion of the workshop, participantsshould be able to:
•
Understand the benefits and limitations of CSS
•
Create an internal sheet
•
Create an external style sheet
•
Attach an external style sheet to a page
•
Design a basic page using CSS to control positioning rather than tables
A Bit of History
HTML was originally intended to identify elements of a web page, not to control how thepage looked on the screen. As the web evolved from a purely text-based medium to amore varied format, web designers wanted more control over the look of their pages.Eventually, HTML included more design elements (such as the ability to change fontcolors), but the process was still tedious for large sites.CSS was developed to address the needs of web designers to exercise greater control overhow their pages looked. It allows you to separate your content and your design in yourcode. Using CSS you can very easily make significant changes to how you pages look onall of the pages in your web site in a matter seconds. In addition, advanced users of CSScan exercise very precise control over the placement of elements on the page withouthaving to use tables. As a result, pages can load faster and CSS also allows web designersto break free of the “boxy” design that is often the result of designing with tables.However, there are problems with CSS. Not all browsers render CSS correctly. For achart showing which CSS elements are supported by which versions of Internet Explorerand Netscape Navigator visit this resource:http://www.w3schools.com/css/css_reference.asp
CSS at Work
Visit the following web site to get a sense of one way CSS is applied to easily anddramatically change the way a page is displayed:http://www.w3schools.com/css/demo_default.htm
Leave a Comment