Logo
Macresource Computer Training Courses
Macresource Computer Training Courses
Course details Home Training Pricing Contact Booking Computer training room hire
  HOME PAGE - Free tutorials - Dreamweaver
  Go To Free Computer Tutorials Feed
  Dreamweaver
  Illustrator
  InDesign
  PowerPoint
  QuarkXPress
 
Dreamweaver tutorials - The tag selector
Page 1 Page 2 Page 3 Page 4 Page 5 Page 6 Page 7      
                   

Set Class

A class is a CSS (cascading style sheets) style definition which can be applied to a particular occurence of an element. It differs from an HTML element definition, which is used to specify the appearance of all occurrences of that element on the associated page(s). Thus for example, if our style sheet contains the following definition:

p {color: color: #009999; font-family: Garamond, "Times New Roman", serif; font-size: 12px }

these attributes will apply to all paragraph elements on the page. However, with class definitions, we might specify two types of paragraph formats, for example:

p.first {color: color: #006666; font-family: Arial, Helvetica, sans-serif; font-size: 14px; font-weight: bold}
p.standard {color: color: #009999; font-family: Garamond, "Times New Roman", serif; font-size: 12px }

Using the tag selector, we would now be able to specify that a given paragraph follow either the "first" or "standard" class.

To set the class of an element using the tag selector, right click on the appropriate tag, choose Set Class and then click on one of the classes listed in the sub-menu.

In the Flash movie that follows, the tag selector is used to set the input and textarea elements within a form to a class called "bodytext".

To remove a class from an element, right click on the tag, choose Set Class and then click on None.

Page 1 Page 2 Page 3 Page 4 Page 5 Page 6 Page 7      
                   
 
 

Macresource Web Design and Web Development Training Courses
ActionScript training | Apache training |  ASP training | ASP.Net training
ColdFusion training |  Director Lingo training |  Dreamweaver training | Flash training
FrontPage training
 | GoLive training | HTML training | IIS training | JavaScript training
MySQL training | PHP training | Programming training | UltraDev training
Web Design training
XML trainingFree Dreamweaver tutorials
London computer training room hire

Macresource Multimedia Training Courses
Director training | Multimedia training |  Première training
London computer training room hire
Free Illustrator tutorials

 

Macresource Desktop Publishing (DTP) and Graphics Training Courses
Acrobat training | Coreldraw training |  Corel PhotoPaint training | DTP training |  Fireworks training 
Freehand training |  Illustrator training  | Indesign training | Pagemaker training
Photoshop training
 | Prepress training | Quarkxpress training | XML DTP training
Free QuarkXPress tutorialsLondon computer training room hire

Macresource Business SoftWare Training Courses
Access training | Excel training | Access VBA training | Excel VBA training
Project training | Visio training | Outlook training | Windows XP training
FileMaker training | MySQL training | PowerPoint training | Word training
Free computer software tutorialsLondon computer training room hire


Home Page

Site Map

Articles

Links & Resources

Press Releases

Fast-track specials
Adobe Acrobat
Apple Mac
Dreamweaver
FileMaker Pro
Flash
Microsoft Access
Microsoft Excel VBA
Microsoft Project
Residential courses
 
Adobe Creative Suite 2
Adobe Dreamweaver
Adobe Flash
Excel VBA
Microsoft Project
PHP/MySQL
 
 
RSS Feed: Free computer tutorials
Free
Computer
Tutorials