CSS Tutorial

CSS Style

CSS Layout Style

CSS Float Style

CSS Reference

CSS background Property




CSS Background Property use to write shorthand style. Mostly set a backgorund image position.


Property Values


Properties Value Description
Syntax background:value;
value   background-image
  background-color
  background-image
  background-repeat
  background-attachment
  background-position
  inherit
Allow to All Elements
Inherited No

Example-Code

<div style:"background:url("jix/img_nat.png") repeat fixed;
height:150px;width:210px;overflow:scroll;"> </div>
Online Try This Code Your Self....   »

Example-Result