Log In · Register

 
Div Overlay background, HELP PLEASE!!!
Facade444
post Feb 20 2006, 09:05 AM
Post #1


Member
**

Group: Member
Posts: 12
Joined: Oct 2005
Member No: 255,907



Ok so I made a div background in photoshop.. all I need to know is
1:How do I set it as the background
2:how do I put the div boxed where they are on my background?
 
 
Start new topic
Replies
duplicatex0x0x0
post Feb 20 2006, 10:06 AM
Post #2


Senior Member
******

Group: Duplicate
Posts: 1,912
Joined: May 2005
Member No: 137,527



To put in a background -
CODE
{div to control background}
.background {
background-color:ffffff; color:000000;
border:0px solid; border-color:silver;
width:XXXpx; height:XXXpx; overflow:auto;
position:absolute; z-index:1; left:0%; top:50%;
margin-left:-0px; margin-top:10px;
visibility:visible;}

{background DIV}
<div class="background" style="position: absolute; left:XX%; top:XX%; width:XXXpx; height:XXXpx; overflow: hidden;">
<img src="IMAGE_PATH">
</div>

Then for your second question, you just position the divs to the appropriate spot.
 

Posts in this topic


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