soeren Posted March 15, 2007 Share Posted March 15, 2007 hello I want to place two different objects in two layers at the same place. In the foreground there has to be a table an in the background there has to be an image. the foreground has to be transparent. thank you for posting! Quote Link to comment https://forums.phpfreaks.com/topic/42916-two-objects-at-the-same-place/ Share on other sites More sharing options...
per1os Posted March 15, 2007 Share Posted March 15, 2007 I think this is considered html, not php. Should be posted in the html forum. Quote Link to comment https://forums.phpfreaks.com/topic/42916-two-objects-at-the-same-place/#findComment-208475 Share on other sites More sharing options...
soeren Posted March 16, 2007 Author Share Posted March 16, 2007 I'm sorry - now I know that it is a css problem Quote Link to comment https://forums.phpfreaks.com/topic/42916-two-objects-at-the-same-place/#findComment-208684 Share on other sites More sharing options...
Stickybomb Posted March 16, 2007 Share Posted March 16, 2007 not sure i under stand what you are asking, you want to display one layer directyl over another layer? if so try changing the z-index of the layers and position them over top of one another exp: //style #layer 1{position:relative;z-index:1;width:100px;height:100px;} #layer 2{position:relative;z-index:2;width:100px;height:100px;top:-100px;} //html <div id="layer 1"></div> <div id="layer 2"></div> try that, if this is not what you are trying to do then sorry;) Quote Link to comment https://forums.phpfreaks.com/topic/42916-two-objects-at-the-same-place/#findComment-208925 Share on other sites More sharing options...
mainewoods Posted March 17, 2007 Share Posted March 17, 2007 did you want your table to just have a background image? <style type="text/css"> .imgback { background-image: url(your image url); } </style> <table class="imgback"><tr> <td>bla bla bla</td> </tr></table> Quote Link to comment https://forums.phpfreaks.com/topic/42916-two-objects-at-the-same-place/#findComment-209254 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.