Micheles Paint Shop Newbie 101Learn the basics of CSS Web Design. Cascading Style Sheets are a major part of pagedesign. CSS optimizes your website and allows for faster editing.Version 2
|
|---|
Tell me more about Cascading Style Sheet Tags!
Cascading style sheets are a collection of style rules that define how the elements and tags in an HTML page should be displayed by a browser. The rules give users control over the elements beyond that offered by standard HTML. Margins, multiple background colors, borders, and font style are just a few aspects of a Web page that can be defined and manipulated using style sheets. Style sheets are a set of rules for a Web Page.
There are several ways to include style sheet information in your Web pages. You can write it directly into the page, using the <STYLE> _ </STYLE> tags, or link to externally stored style sheets using the <LINK> tag. A complete rundown on <STYLE>_</STYLE> can be found at the W3 website.
To use the <LINK> tag, use the following code. <LINK REL=STYLESHEET HREF="stylesheetname">
It's really that simple. Be sure to include REL=STYLESHEET so the browser will know the linked document is a style sheet and treat it accordingly. One of the nicest features of HTML is, no matter what kind of style sheet you use, whether internal or external, the rule syntax is the same.!
Provides a means to include rendering and display information using style sheet notation. Cascading Style Sheets (CSS) are currently the most widely supported standard, and all references of style sheets refer to CSS1 & CSS2. Information in the <STYLE> tag works with the clients default configuration as well as any externally referenced style sheets to provide an overall set of style rules for a given Web page.
ATTRIBUTES: Type="text"
Specifies the type of the style sheet in use. The type for CSS sheets is text/css.
Media=screen | print | projection | braille | speech | all
Identifies the ideal environment for the Web page to be conveyed in. The default is all, and screen will be used in most cases because Web pages are most often viewed on a computer screen. However, pages designed for presentations would use the project value, while those meant to be read by a text-to-speech reader would use the speech value. Currently, this attribute provides information only an does not affect the way the style sheet is interpreted or the page rendered. You may include more than one media type, each separated by commas.
Style Sheet Syntax:
As we mentioned style sheets are composed of rules. Style rules take the following format:
H3 {font-face: Garamond}
Breaking down the preceding example, as style rule has two parts.



Learn how to edit CSS sheets with Dreamweaver Video Tutorials. Do you want to learn more about the wonderful HTML web design editor called Dreamweaver? It is a program I use seven days a week twelve hours a day, and I have to say I simply adore it. I have been helping others learn the program for a long time, and decided to share tutorials about Dreamweaver, and other important web design subjects. Find out more at our Video tutorials page.