CSS your HTML partner ! !

CSS your HTML partner! !

Click here to visit Our forum here!

Thursday, March 3, 2011

About CSS background

We can style the background of an element with the background property.
[background:#ffffff url(path_to_image)top left no-repeat fixed;]
This code can do attachment,colour,image,position and repeat.


We can also declare a colour for the background of an element using the background-colour property.
[background-colour: value;]
value can be:
  • coloue name
  • hexadecimal number
  • RGB(RED GREEN BLUE) colour code
  • transpaent
References:
Chapter 12:CSS background [Online], Retrieved 3/3/201
URL: http://www.cssbasics.com/chapter_12_css_backgrounds.html

No comments:

Post a Comment