Author Archives: admin

Background Image – Repeat Horizontally or Vertically

By default, the background-image property repeats an image both horizontally and vertically. Some images should be repeated only horizontally or vertically, or they will look strange, like this:    

Posted in Uncategorized | Leave a comment

Background Color

The background-color property specifies the background color of an element. The background color of a page is defined in the body selector: With CSS, a color is most often specified by: a HEX value – like “#ff0000″ an RGB value … Continue reading

Posted in Uncategorized | Leave a comment

The class Selector

The class selector is used to specify a style for a group of elements. Unlike the id selector, the class selector is most often used on several elements. This allows you to set a particular style for many HTML elements … Continue reading

Posted in Uncategorized | Leave a comment

The id and class Selectors

The id selector is used to specify a style for a single, unique element. The id selector uses the id attribute of the HTML element, and is defined with a “#”. The style rule below will be applied to the … Continue reading

Posted in Uncategorized | Leave a comment