eHow launches Android app: Get the best of eHow on the go.

How To

How to Define a CSS Class Style

Contributor
By eHow Contributing Writer
(3 Ratings)

CSS styles define styles for different sections of your web pages, including links, tables, and div sections. You can define a CSS class style to make it easier to add different fonts and backgrounds to pages on your website.

Difficulty: Moderate
Instructions
  1. Step 1

    Open your html document. Move your mouse to the "head" section. Create a tag called "".

  2. Step 7

    Move to the "Body" section of the file. Place the style name within a table cell tag or a DIV tag. Follow this with the text that you want to show with the class properties.

Tips & Warnings
  • Instead of including styles in the head section, you can create a style sheet to define style for all pages in your website.
Subscribe

Post a Comment

Post a Comment

Related Ads

  • Have you done this? Click here to let us know.
I Did This
Tags
Get Free Internet Newsletters

Copyright © 1999-2009 eHow, Inc. Use of this web site constitutes acceptance of the eHow Terms of Use and Privacy Policy.   en-US Portions of this page are modifications based on work created and shared by Google and used according to terms described in the Creative Commons 3.0 Attribution License.

Demand Media
eHow_eHow Technology and Electronics