background

background

CSS background Property
The CSS background property is shorthand CSS for specifying all of the background specific properties such as background-attachmentbackground-colorbackground-imagebackground-position and background-repeat.
CSS CODE EXAMPLE
<style type="text/css">
#myID {
    background:url(myBG.jpg) top no-repeat scroll;
    border:#06C 1px solid;
    width: 500px;
    height: 250px;
}
</style>
<div id="myID">div content ...</div>
 
div content ...

Related Posts :

  • margin-right margin-right CSS margin-right Property The CSS margin-right property is used to creat… Read More...
  • margin-left margin-left CSS margin-left Property The CSS margin-left property is used to create m… Read More...
  • margin margin CSS margin Property The CSS margin property is CSS shorthand for specifying&nb… Read More...
  • margin-bottom margin-bottom CSS margin-bottom Property The CSS margin-bottom property is used to cr… Read More...
  • padding-top padding-top CSS padding-top Property The CSS padding-top property is used to create t… Read More...

0 Response to "background"

Post a Comment