Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Template wreck (Read 4903 times)
Captain John
Senior Member
****
Offline


Pass to Port !

Posts: 264
Location: Reno Beach
Joined: Jan 18th, 2007
Gender: Male
Template wreck
Dec 10th, 2009 at 6:04pm
Print Post  
I have been modifying my Y2.4 layout ... and screwed something up !
 I have modifed: default.html, display.template, messageindex.template, boardindex.template.  Don't believe I have edited any pl files (according to last date modified)
Edited:
oops.. and the CSS

 I now have a gray area at the bottom of a post.  Which disappears when a reply is made to the post.  This will reappear on any new post.

See http://www.vvcbb.org/Forum/YaBB.pl?num=1260219071
« Last Edit: Dec 10th, 2009 at 8:24pm by Captain John »  

Love to live and love on the water
Back to top
 
IP Logged
 
LWS
Senior Member
****
Offline


seek and ye shall find...i
must be BLIND!!

Posts: 285
Location: Southern Ohio
Joined: Feb 25th, 2007
Re: Template wreck
Reply #1 - Dec 13th, 2009 at 2:29am
Print Post  
havnt looked closely.. but I would begin looking in the display.template for the error first, it looks like something is stretching .. or holding it open.. to a certain height

Did you add the side bar in the .html... or in the template files?
  

LoneWebSurfer.com Nothing but YaBB templates
Back to top
WWW  
IP Logged
 
Captain John
Senior Member
****
Offline


Pass to Port !

Posts: 264
Location: Reno Beach
Joined: Jan 18th, 2007
Gender: Male
Re: Template wreck
Reply #2 - Dec 13th, 2009 at 2:55am
Print Post  
Man I would have bet too that the problem was in the Display.Template, But renamed my hacked template and reloaded Display.Template.

  Still first Post has gray area at bottom.....
  

Love to live and love on the water
Back to top
 
IP Logged
 
Captain John
Senior Member
****
Offline


Pass to Port !

Posts: 264
Location: Reno Beach
Joined: Jan 18th, 2007
Gender: Male
Re: Template wreck
Reply #3 - Dec 15th, 2009 at 4:24pm
Print Post  
Well I started over, adding back as I go ...

 Problem seems to be within the sidebar ... Using the top scroll ad (images over 200px square) no problem, with scroll and 1 billboard image (125px. square), all ok.  scroll box plus 2 billboards ... Problem !

mmmmmmm

Code
Select All
  <div id="sidebar">
   <table width="100%" cellspacing="1" cellpadding="2" border="0">
     <tr valign="middle"><td><marquee style="position: relative;" behavior="scroll" align="center" direction="up" scrollamount="2" scrolldelay="5" onmouseover="this.stop()" onmouseout="this.start()" height="200">
<img src="http://www.vegetariansareevil.com/images/eatmeat.jpg" alt="Eat Meat Tee Shirt" title="Tee Shirt " style="position: relative;" border="0"><br />
<img src="http://www.vegetariansareevil.com/images/mama.jpg" alt="'Shat' - Anti-Vegetarian Tee Shirt" title="Tee Shirt " style="position: relative;" border="0"><br />
<img src="http://www.vegetariansareevil.com/images/petashirt.jpg" alt="Anti-PETA Tee Shirt" title="Tee Shirt " style="position: relative;" border="0"><br />
<img src="http://www.vegetariansareevil.com/images/youeatwhat.jpg" alt="Tee Shirt" title="Tee Shirt " style="position: relative;" border="0"></a><br />
<img src="http://www.vegetariansareevil.com/images/shat.jpg" alt="'Shat' - Anti-Vegetarian Tee Shirt" title="Tee Shirt " style="position: relative;" border="0"><br />
<img src="http://www.vegetariansareevil.com/images/vegbag.jpg" alt="Vegetarian Eco gear" title="Tee Shirt " style="position: relative;" border="0"><br />
<img src="http://www.vegetariansareevil.com/images/nobody.jpg" alt="Nobody Likes a Vegetarian Tee Shirt" title="Tee Shirt " style="position: relative;" border="0"><br />
<img src="http://www.vegetariansareevil.com/images/chicken.jpg" alt="Tee Shirt" title="Tee Shirt " style="position: relative;" border="0"><br />
<img src="http://www.vegetariansareevil.com/images/foodchain.jpg" alt="Food Chain Mug" title="Coffee Mug" style="position: relative;" border="0"><br />
</marquee><br /><br /></td>
</tr>
     <tr valign="middle"><td><center><img src="{yabb images}/billboard1.png" border="0" /></center><br /><b><font color=#ff0000>2XX .....</color></b><br /></td></tr>
     <tr valign="middle"><td><center><img src="{yabb images}/billboard1.png" border="0" /></center><br /><b><font color=#ff0000>3XX .....</color></b><br /></td></tr>
     <tr valign="middle"><td><center> </center><br /><b><font color=#ff0000>4XX .....</color></b></td></tr>
     <tr valign="middle"><td><b><font color=#ff0000>5XX .....</color></b></td></tr>
</table>
</div> 



CSS
Code
Select All
#wrapper {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding: 0px;
}
#header {
  width: 100%;
  text-align: center ;
  padding: 0px;
  border-top: 0px;
  margin-bottom: 10px;
}
#sidebar {
  float: right;
  width: 20%;
  padding: 2px;
  padding-top: 20px;
}
#maincontainer {
  margin-right: 22% ;
  padding-top: 2px;
  padding-bottom: 2px;
  padding-left: 6px;
  padding-right: 2px;
  border-top: 0px;
  margin-bottom: 10px;
}
#container {
  background-color: #9CB9F3;
  padding: 0px;
  border: 0px;
  margin: 0px;
  padding-left: 1px;
  padding-right: 1px;
  color: #000033;
}
#footer {
  text-align: center ;
  clear: both ;
} 



can be seen here: http://www.vvcbb.org/Forum/YaBB.pl?num=1260739554
  

Love to live and love on the water
Back to top
 
IP Logged
 
Captain John
Senior Member
****
Offline


Pass to Port !

Posts: 264
Location: Reno Beach
Joined: Jan 18th, 2007
Gender: Male
Re: Template wreck
Reply #4 - Dec 15th, 2009 at 8:30pm
Print Post  
Got it !!!
Code
Select All
#sidebar {
  position: absolute;
  width: 20%;
  right: 10px;
  top: 150px;
  padding: 2px;
  padding-top: 10px;
} 

  

Love to live and love on the water
Back to top
 
IP Logged
 
LWS
Senior Member
****
Offline


seek and ye shall find...i
must be BLIND!!

Posts: 285
Location: Southern Ohio
Joined: Feb 25th, 2007
Re: Template wreck
Reply #5 - Dec 17th, 2009 at 1:07am
Print Post  
glad you got it sorted Smiley
  

LoneWebSurfer.com Nothing but YaBB templates
Back to top
WWW  
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint