how to set a bg image for the "div"? |
how to set a bg image for the "div"? |
Nov 25 2005, 01:55 AM
Post
#1
|
|
![]() Senior Member ![]() ![]() ![]() Group: Member Posts: 31 Joined: Nov 2005 Member No: 282,502 |
I would like to hv 2 bg image, one for the brower and one for the "div".
I tried to put the <background-image: img src="IMG SITE ADD"> code directly into the "div" code, but it doesn't work, is there any way to do so? |
|
|
|
![]() |
Nov 25 2005, 02:06 AM
Post
#2
|
|
![]() You'll find me in your dreams. ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Official Member Posts: 8,536 Joined: Mar 2005 Member No: 114,010 |
It does.... You can do it this way too.
CODE <style type="text/css">
body{background: #HEX_CODES url('') center center repeat fixed;} div{background: #HEX_CODES url('') center center repeat fixed;} </style> |
|
|
|
beclovesang how to set a bg image for the "div"? Nov 25 2005, 01:55 AM
beclovesang thx!but wt is HEX_CODE? Nov 25 2005, 02:16 AM
beclovesang though this code change the bg of the "div... Nov 25 2005, 02:37 AM
Jeng please dont double post, just click 'edit... Nov 25 2005, 08:57 AM![]() ![]() |