www.wysiwyg-art.com >All >Style and substance
web design tutorials, programming help
Web design community
HOME contactE-mailcontactPortfolioDirectory design forumForum
search articles

Style and substance

Mon 28th Jan

 

Using style sheets might just save you altering pages and pages of HTML. A style sheet is an external file that holds all the formatting information for different styles you might have in your web page. Such as defining the paragraph or

tag or the link styles as in a:link a:hover a:visited. Each tag can have everything about it defined in the sheet; here is an example of a style sheet:

p{font-family:Arial, helvetica, sans-serif; color:#ffffff; font-size:10pt}

a:link{font-family:Arial, helvetica, sans-serif; color:#ddddff; font-size:10pt; decoration:none}

That would be saved as something.css and you would link it to your documents by placing this tag in the section of your web pages

or most web layout packages will help you create and link a style sheet to your pages.

Style sheets can also be embedded in individual pages allowing you to create a style just for one page, the format for the style definitions is the same as before but you must place this in the section of your web page:





NEXT: a rundown of all your style options.

Parts of Article: part |part | part top

by Pete

Helpful Links
Style sheets
CSS Tutorials


Index | All

©WYSIWYG-Art.