url(protocol://server/pathname)
. For example: #main {background-image: url(http://www.chetancrasta.com/images/texture.jpg)}
Relative URLs can also be used:#main{background-image: url(images/bg.gif)}
Relative URLs are relative to the path of the document that contains the CSS declaration. There should be no whitespace between url and (http://www... .
No comments:
Post a Comment