CSS: Cascading Style Sheets
Listings
|
|
|
HTML style sheets provide you the capability to decorate the background of an element by using color and images. Note that using the properties described in the
following sections doesn't define the background for the Web page as a whole. These properties set the background of an element on the Web page. For example,
if you define a background for the tag, as in the following example, then the background only appears within each occurrence of that tag on the Web page.  |
|
|
|
Report
Link
Rate It
Review It
Send To Friend!

|
Box Properties
( Added: Mon Jun 13 2005 Hits: 59)
|
| W3C's style sheet recommendation provides you the capability to define the borders, margins, and padding for elements on the Web page. You can wrap a border
around a heading, for example, or change the margins of the tag so that any occurrences of this tag are indented into the page. Here's an overview of the
properties that you can use to change the boxes associated with an element:  |
|
|
|
Report
Link
Rate It
Review It
Send To Friend!

|
|
|
You use the list properties to specify how lists display in the browser window. You can change the position of the marker (list-style-position) and the style
or image used for the marker (list-style-type and list-style-image). The sections that follow describe each property in more detail. Enjoy.
 |
|
|
|
Report
Link
Rate It
Review It
Send To Friend!

|
Font Properties
( Added: Mon Jun 13 2005 Hits: 46)
|
You can group the font properties using font. You specify the weight, style, size, and family, as in the following example:
font: bold normal 12pt times, serif
font-family
font-family is a prioritized list of typefaces for the element. You can specify a single typeface or a list of alternatives, separated by commas, as in the following
example:
 |
|
|
|
Report
Link
Rate It
Review It
Send To Friend!

|
|
|
CSS style sheets have made it easier to handle web pages during web development. CSS or Cascading Style Sheets
as the name suggests is a style sheet that allows you to easily link to other documents in your website. It allows you to
retain control over the various elements in different web pages of your website. |
|
|
|
Report
Link
Rate It
Review It
Send To Friend!

|
|
|
With the use of Cascading Style Sheets (CSS), in conjunction with HTML, you can easily achieve a variety of effects for your links. Lets start with basic link styling.
In the portion of your document place the following: |
|
|
|
Report
Link
Rate It
Review It
Send To Friend!
