Introduction to Styles
A introductions to using styles in dreamweaver and how you can use them in your webpage.
Category: Dreamweaver
Views: 10014

Introduction to Styles " Introduction
 

Cascading Style Sheets (CSS) are a collection of formatting rules that control the appearance of content in a web page. They are very useful for maintaining a web site since its appearance (controlled by properties of HTML tags) can be managed from just one file. CSS Styles also enhance your site's look, accessibility and reduces file size. Another main advantage is reusability - instead of defining the properties of fonts, backgrounds, borders, bullets, uniform tags, etc. each time you use them you can just assign the corresponding css style in the class property. You can store CSS styles directly in each document or, for more control and flexibility, in an external style sheet.

 

There are 3 types of CSS Styles:

 
       
  • Custom CSS (Class) styles: create a customized style with the set attributes. These class styles can be applied to any tag.
  •    
  • HTML Tag styles: redefine the formatting for a particular tag, such as <h1>. All text formatted with the h1 tag is immediately updated.
  •    
  • Advanced CSS Selector styles: redefine the formatting for:             
             
    1. A particular combination of tags (for example, td h2 applies whenever an h2 header appears inside a table cell) and pseudo-class styles (for example, a:link, a:hover, a:visited)
    2.        
    3. A specific ID attribute (for example, #myStyle applies to all tags that contain the attribute-value pair id="myStyle") "
    4.      
       
  •  

Source: http://www.smartwebby.com

 

When you have a style, to use it, highlight the part of your webpage you want to give a style to, go to the bottom properties panel and clcik Style > yoursyle.

 

To create new styles, go to your bottom properties panel and go Style > Manage Styles...

 

 

Tutorial Complete.

If you would like more help with this tutorial please register and visit the forum.

About Michael

Michael Dunlop Michael Dunlop personal statement

“But I am already older than 21”, I hear you cry. Don’t worry, despite the name, the information and advice is more geared towards retiring prior to having a fake hip installed.

Website Sponsors
Recommended Websites
They Buy, Build, Upgrade and Sell Websites.
 
Advertise Here
Feature Interviews
Graham went from $100 one day to ... Read more
Paul Bourque started affiliate marketing less than ... Read more
Interview with Yaro Starak of Entrepreneurs-Journey.com is ... Read more
Recommended Resources
 
 
 
 
 
Get Retire at 21's FREE Secrets
Find out how I'm going to Retire VERY Early Subscribe for my Free Secrets Privacy Guaranteed. 100% Spam free.