HTML/CSS Service

CSS Background Tutorials

Category: CSS, CSS Tutorials    |    1,216 views    |    Add a Comment  |   

In this tutorial you will learn about Cascading Style Sheets (CSS), Background, Background Color, Background image, Repeating background image, Background position and Background attachment.

Background color

To set the background color of an element, use the “background-color” property.

Example:

body
{
background-color: #FF0000;
}

This sets the background color of the document to red.

Read more…

Share/Save/Bookmark

 

CSS Applying Tutorials

Category: CSS, CSS Tutorials    |    876 views    |    Add a Comment  |   

In this tutorial you will learn about Cascading Style Sheets (CSS), Applying CSS, External style sheets, Internal styles, Inline styles and Multiple style sheets

There are different types for specifying styles to be used with HTML documents, they can be specified in an external CSS file, inside the < head > element of the HTML document, or/and inline to be specific to a single HTML element, also there is the browser default style.
These styles will be cascaded in a single HTML documents at the following priority:

  1. Browser default.
    .
  2. External CSS file.
    .
  3. Internal < head > style.
    .
  4. Inline style.

Inline style has the highest priority.

Read more…

Share/Save/Bookmark

 

CSS References Tutorials

Category: CSS, CSS Tutorials    |    784 views    |    Add a Comment  |   

In this tutorial you will learn about Cascading Style Sheets (CSS), Units and Colors, Percentage, Values, Colors, References - Font and Text, Color and Background, Layout, Classification, Positioning and Pseudo-classes.

Units and Colors

Percentage

Percentage values have to be followed by “%”.

Read more…

Share/Save/Bookmark