Log In · Register

 
 
Closed TopicStart new topic
how to set a bg image for the "div"?
beclovesang
post 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?
 
talcumpowder
post 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
post Nov 25 2005, 02:16 AM
Post #3


Senior Member
***

Group: Member
Posts: 31
Joined: Nov 2005
Member No: 282,502



thx!but wt is HEX_CODE?
 
beclovesang
post Nov 25 2005, 02:37 AM
Post #4


Senior Member
***

Group: Member
Posts: 31
Joined: Nov 2005
Member No: 282,502



though this code change the bg of the "div",
also put the image to the space around the xanga ad too!
Can it change the bg of "div" only?
 
Jeng
post Nov 25 2005, 08:57 AM
Post #5


Senior Member
*******

Group: Official Member
Posts: 7,149
Joined: Aug 2005
Member No: 213,509



please dont double post, just click 'edit' on your previous post, and as for your question..you can find hex codes here [CLICKK HERE] you can find more on xanga help sites.
 

Closed TopicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members: