Results 1 to 4 of 4
-
25th Mar 2010, 08:12 AM #1OPMember
what's wrong with this code?
Okay, here's the problem.
I have a background image and then an image i need to go over that.
here's my current code:
html:
Code:<div class="shadow"> <img src="./images/bg-shadow.png" style="position: relative;"> </div> <div class="body"> <img src="./images/body_bg-bg.png" style="position: relative;"> </div>
Code:.shadow { position:absolute; z-index:0; } } .bodybg { position:absolute; z-index:1; }
iL < Reviewed by iL < on . what's wrong with this code? Okay, here's the problem. I have a background image and then an image i need to go over that. here's my current code: html: <div class="shadow"> <img src="./images/bg-shadow.png" style="position: relative;"> </div> Rating: 5
-
25th Mar 2010, 08:15 AM #2Banned
Use Css Code Like This
.bodybg {
background-image: url(/images/body_bg-bg.png);
position:absolute;
z-index:1;
}
-
25th Mar 2010, 08:17 AM #3OPMember
that still didn't let the images center, thanks for trying though
-
25th Mar 2010, 08:18 AM #4Banned
ok .
Sponsored Links
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
Help With Letitbit Js To BB Code aka Embedding streaming code in forums
By JoomlaZ in forum Web Development AreaReplies: 1Last Post: 3rd Apr 2012, 09:50 AM -
whats wrong with the code
By zebono2 in forum Web Development AreaReplies: 2Last Post: 7th Jan 2012, 11:33 PM -
Need a good coder to code a skin, I will show you what I need, you just code it
By Nickk96 in forum Web Development AreaReplies: 1Last Post: 27th Aug 2011, 01:45 PM -
Is there something wrong with this code
By Daniel in forum General DiscussionReplies: 1Last Post: 28th Mar 2010, 01:31 PM -
[vBulletin BB Code] Moderated Message: (Like W-BB's Staff BB Code!)
By Ghost Dog 13 in forum Webmaster ResourcesReplies: 13Last Post: 26th Sep 2009, 06:19 PM
themaManager - edit and manage...
Version 4.18 released. Open older version (or...