PDA

View Full Version : Can't find code in template


HypedGaming
04-21-2008, 12:22 AM
I have a piece of code that is causing a problem on my forums (well, at least I think it is causing it):

</div></div></div></td></tr><tr><td class="cat_bottom" style="margin: 0px; padding: 0px; line-height: 0px;" colspan="5"><img src="http://cod4boards.com/clear.gif" alt="" height="8" width="1"></td></tr>
</tbody>
</table>

What it looks like on my forum: http://cod4boards.com/index.php?styleid=4
What it should look like: http://www.vbstyles.com/demo/?styleid=39

Note how the div/table ends right under the welcome message on my forum, and there is no background for the rest of the container.

Does anyone know where this code could be coming from? (and where to find it)

Also, this only happens on the index, the other pages show up as they should

Sorry if this is in the wrong section

Lynne
04-21-2008, 02:56 AM
It looks to me like it is this bit of code that is throwing it off:
<!-- google_ad_section_start -->
<tr><td class="cat_bottom" style="line-height: 0px; padding: 0px; margin: 0px;" colspan="5"><img src="http://cod4boards.com/clear.gif" alt="" width="1" height="8" /></td></tr>
</tbody>
</table>
<div class="cat_spacer"></div>


It's closing the table which is something not being done on the skin that you want it to be like.

HypedGaming
04-21-2008, 03:43 AM
It looks to me like it is this bit of code that is throwing it off:
<!-- google_ad_section_start -->
<tr><td class="cat_bottom" style="line-height: 0px; padding: 0px; margin: 0px;" colspan="5"><img src="http://cod4boards.com/clear.gif" alt="" width="1" height="8" /></td></tr>
</tbody>
</table>
<div class="cat_spacer"></div>


It's closing the table which is something not being done on the skin that you want it to be like.

Yeah thats the code I pasted lol :P

Anyways, I managed to fix it (I messed something up, so I copied the original template code and pasted it back in, and viola :D

Thanks for replying