Div Overlay background, HELP PLEASE!!! |
Div Overlay background, HELP PLEASE!!! |
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? |
|
|
|
![]() |
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. |
|
|
|
Facade444 Div Overlay background Feb 20 2006, 09:05 AM
Facade444 QUOTE(tcunningham1589 @ Feb 20 2006, 9:06... Feb 20 2006, 10:09 AM![]() ![]() |