Lilith Posted September 2, 2010 Share Posted September 2, 2010 Ive spent many hours/days/weeks trying to get the exact layout for my game that I had in mind, and im soooo close! but here lies the problem, I cant figure out where to insert the into my header to put in the image I want behind the game. a picture is worth a thousand words. See that nasty black box???? yeah, its supposed to have behind the text via the Here is the css lines that pertain to that image (i have two of them that ore only slightly different, you get the point) .col_wrap{background:url(/images/colbg.png) top repeat-y;width:780px; float:left;} .col{background:url(/images/colbgtop.png) top repeat-y;width:780px; float:left;} and here is my header file. http://pastebin.com/neBSZ46t Thanks in advance for any hints, tips tricks ect. Quote Link to comment Share on other sites More sharing options...
Matthew Posted September 2, 2010 Share Posted September 2, 2010 When I used to have the prob I went to argon or Dayo I forgot but one of them helped me when i was doing stuff like that its nasty now so i just have a real professional layout not saying yours is not professional but i mean get it made by photoshop and all not a pic lol but yah it has to do with somehting next to url then then location of the image i forgot i am trying to think about instead of url will be background: image (The locaton) and no repeat i could be wrong! Quote Link to comment Share on other sites More sharing options...
Lilith Posted September 2, 2010 Author Share Posted September 2, 2010 you would be referring to [img=/images/filename] Id rather use css than html for this, but thanks for trying. Quote Link to comment Share on other sites More sharing options...
wrx Posted September 2, 2010 Share Posted September 2, 2010 pastebin link is dead so heres an idea not sure if its laid out like this but... maybe try and start your <div class="col_wrap"> <div class="col"> at the end of your leftmenu file and then </div> </div> at the begining of your footer file i would think that would leave the body enclosed in your col wrapper Quote Link to comment Share on other sites More sharing options...
Lilith Posted September 2, 2010 Author Share Posted September 2, 2010 I have posted a working link to the header file in the OP. However, I am not sure where the left menu ends .... I think that is the majority of my issue. Quote Link to comment Share on other sites More sharing options...
Djkanna Posted September 2, 2010 Share Posted September 2, 2010 I'll help you out when I get back to my pc if someone hasn't already helped by then :) Quote Link to comment Share on other sites More sharing options...
Lilith Posted September 2, 2010 Author Share Posted September 2, 2010 Many grateful thanks, it seems that this week is my week for for duh moments. I appreciate everyone's help. Quote Link to comment Share on other sites More sharing options...
Analog Posted September 2, 2010 Share Posted September 2, 2010 function menuarea() { include "mainmenu.php"; global $ir,$c; print '</td><td width="2" class="linegrad" bgcolor="#'.$bgcolor.'"></td><td width="80%" bgcolor="#'.$bgcolor.'" valign="top"> <center>'; if($ir['hospital']) { print "[b]NB:[/b] You are currently in hospital for {$ir['hospital']} minutes. "; } if($ir['jail']) { print "[b]NB:[/b] You are currently in jail for {$ir['jail']} minutes. "; } print "[url='Donate.php'][b]Donate to {$set['game_name']} now for game benefits![/b][/url] "; } This should be what you need to edit. It is the opening for the right hand side of your layout (the black area). <td width="80%" bgcolor="#'.$bgcolor.'" valign="top"> Could change it to... <td width="80%" style="background-image:url('images/colbg.png');" valign="top"> Quote Link to comment Share on other sites More sharing options...
Dayo Posted September 2, 2010 Share Posted September 2, 2010 @matthew probley was me i help no end of ppl out :P lilith did you want that where the black bg is? Quote Link to comment Share on other sites More sharing options...
Lilith Posted September 2, 2010 Author Share Posted September 2, 2010 @analog that just gives me an error message, unexpected t string thing. @dayo, yes I wish to replace the black background with that image via css I have figured it out because of your help. I had to add (class="col_wrap") to <td width="80%" class="col_wrap" bgcolor="#'.$bgcolor.'" valign="top"> <center>'; Now to create the footer :) thanks again for all your help! Quote Link to comment Share on other sites More sharing options...
Analog Posted September 3, 2010 Share Posted September 3, 2010 didn't think about that... The unexpected t string was probably because of the ' ' used within the style tag i posted.. but hey... at least it got you looking in the right direction ;) Quote Link to comment 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.