CSS background Property
The CSS background property is shorthand CSS for specifying all of the background specific properties such as background-attachment, background-color, background-image, background-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>
#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 ...
0 Response to "background"
Post a Comment