What are different image property of CSS Style? I want to cerate web page which display image in center and there are two to three images which display at bottom of the page.
What are different image property of CSS Style? I want to cerate web page which display image in center and there are two to three images which display at bottom of the page.
To set background image :
To set background color :Code:{ background-image: url("") } </style>Code:h3 {background-color: transparent} p {background-color: rgb(255,0,240)} </style>
list-style-image : Selects a specific image to serve as a bullet in front of list items.The list-style-image property replaces the list-item marker with an image.
Code:ul { list-style-image:url("/images/webl.gif"); list-style-type:rectangle; }
It will display image in background as horizontally.
This will display static background image :Code:<style type="text/css"> body { background-image: url(""); background-repeat: repeat-x } </style>
Code:<style type="text/css"> body { background-image: url("/images/web.gif"); background-repeat: no-repeat; background-attachment: fixed }</style>
Bookmarks