November 22, 2007 at 9:33 pm · Filed under CSS
CSS Background.
The CSS background properties allow you to control the background color of an element, set an image as the background, repeat a background image vertically or horizontally, and position an image on a page.
Browser support: ...
November 22, 2007 at 9:30 pm · Filed under CSS
How to Make a CSs
Examples
Look at Example 1
Look at Example 2
How to Insert a Style Sheet
When a browser reads a style sheet, it will format the document according to it. There are three ways of inserting a style s...
November 22, 2007 at 8:56 pm · Filed under CSS
Comments are used to explain your code, and may help you when you edit the source code at a later date. A comment will be ignored by browsers. A CSS comment begins with “/*”, and ends with “*/”, like this:
/* This is a c...
November 22, 2007 at 8:50 pm · Filed under CSS
Grouping
You can group selectors. Separate each selector with a comma. In the example below we have grouped all the header elements. All header elements will be displayed in green text color:
h1,h2,h3,h4,h5,h6 { color: green }
The...
November 22, 2007 at 8:42 pm · Filed under CSS
syntax is made up of three parts: a selector, a property and a value:
selector {property: value}
The selector is normally the HTML element/tag you wish to define, the property is the attribute you wish to change, and each property can ...