Elton
02-03-2007, 10:51 AM
I'm rubbish at web designing (I'm okay at managing sites, just rubbish at designing them LOL) and could do with some help.
I want to include a 300x250 ad block in my headlines. I've done this, but it looks a bit naff.
http://www.anglersnet.co.uk/
What I'd like to do is have the text below the image (I think). Can anyone tell me what I need to amend to achieve this? I'll paste the code below.
Also, any other tips for making that bit a bit neater would be appreciated.
Thanks in advance,
Elton
<!-- headlines.tpl -->
<div id="headline_created" class="plainTxtGray" style="border-bottom: 1px solid #999999;"> {CREATED} </div>
<table cellpadding="0" cellspacing="0"width="100%" class="headlineBox">
<tr>
<td colspan="2"><h2 id="headline_caption">{CAPTION_TITLE}</h2></td>
</tr>
<tr>
<td valign="top" width="150" height="170">
<img id="headline_image" src="{ROOT}files/{IMAGE}" align="left" border="0" alt="image" /></td>
<td valign="top" height="170">
<span id="headline_author" class="plainTxtGray">{AUTHOR} </span>
<div id="headline_body" class="headlineTxt" align="justify">{BODY}</div>
</td>
<td valign="top" height="300"><table width="300" height="250" border="1" cellspacing="0" bordercolor="#EEEEEE" style="border-collapse: collapse" cellpadding="0"><tr bordercolor="#999999" bgcolor="#BFD2C8">
<td height="18" colspan="2" nowrap class="largertext"><div align="center"><strong><font color="#004000" size="2" face="Tahoma, Arial"><a href="http://www.tacklebargains.co.uk/cgi-bin/at.cgi?a=232715&e=/discount_fishing_tackle.htm"><font color="#004000">Discount Fishing Tackle</font></a> Offers from <a href="http://www.tacklebargains.co.uk/cgi-bin/at.cgi?a=232715" target="external"><font color="#004000">Tacklebargains</font></a></font></strong></div></td></tr><tr><td width="33%" height="205"><div align="center"><script src="http://www.tacklebargains.co.uk/randomimage.js"></script><script>SetAffiliate("432029");this.document.write(TextList[NumArray[0]]);</script></div></td><td height="205" width="33%"><div align="center"><script>this.document.write(TextList[NumArray[1]] );</script></div></td></tr><tr><td width="33%" height="205"><div align="center"><script>this.document.write(TextList[NumArray[3]]);</script></div></td><td height="205" width="33%"><div align="center"><script>this.document.write(TextList[NumArray[4]] );</script></div></td></tr></table>
</td>
</tr>
</table>
<table width="100%" cellpadding="0" cellspacing="0" class="player">
<tr>
<td valign="top"><a href="#" onclick='change_headline(2); return false;' ><img src="{ROOT}/img/back.gif" border="0" id="back" align="left" alt="back" /></a>
<a href="#" onclick='change_headline(1); return false;' id="pauza" ><img src="{ROOT}/img/pause.gif" border="0" id="pause" align="left" alt="pause" /></a>
<a onclick='change_headline(3); return false;' href="#"><img src="{ROOT}/img/forward.gif" border="0" id="forward" align="left" alt="forward" /></a></td>
<td colspan="2" align="left" class="category_link_depth3"><strong><a id="headline_link" href="{LINK}">Full Story</a> » </strong></td>
</tr>
</table>
<!--<table cellpadding="0" cellspacing="0" width="100%">
<tr>
<td class="player" valign="top"><a href="#" onclick='change_headline(2); return false;' ><img src="{ROOT}/img/back.gif" border="0" id="back" align="left" alt="back" /></a>
<a href="#" onclick='change_headline(1); return false;' id="pauza" ><img src="{ROOT}/img/pause.gif" border="0" id="pause" align="left" alt="pause" /></a>
<a onclick='change_headline(3); return false;' href="#"><img src="{ROOT}/img/forward.gif" border="0" id="forward" align="left" alt="forward" /></a></td>
</tr>
</table> -->
<!-- end headlines -->
I want to include a 300x250 ad block in my headlines. I've done this, but it looks a bit naff.
http://www.anglersnet.co.uk/
What I'd like to do is have the text below the image (I think). Can anyone tell me what I need to amend to achieve this? I'll paste the code below.
Also, any other tips for making that bit a bit neater would be appreciated.
Thanks in advance,
Elton
<!-- headlines.tpl -->
<div id="headline_created" class="plainTxtGray" style="border-bottom: 1px solid #999999;"> {CREATED} </div>
<table cellpadding="0" cellspacing="0"width="100%" class="headlineBox">
<tr>
<td colspan="2"><h2 id="headline_caption">{CAPTION_TITLE}</h2></td>
</tr>
<tr>
<td valign="top" width="150" height="170">
<img id="headline_image" src="{ROOT}files/{IMAGE}" align="left" border="0" alt="image" /></td>
<td valign="top" height="170">
<span id="headline_author" class="plainTxtGray">{AUTHOR} </span>
<div id="headline_body" class="headlineTxt" align="justify">{BODY}</div>
</td>
<td valign="top" height="300"><table width="300" height="250" border="1" cellspacing="0" bordercolor="#EEEEEE" style="border-collapse: collapse" cellpadding="0"><tr bordercolor="#999999" bgcolor="#BFD2C8">
<td height="18" colspan="2" nowrap class="largertext"><div align="center"><strong><font color="#004000" size="2" face="Tahoma, Arial"><a href="http://www.tacklebargains.co.uk/cgi-bin/at.cgi?a=232715&e=/discount_fishing_tackle.htm"><font color="#004000">Discount Fishing Tackle</font></a> Offers from <a href="http://www.tacklebargains.co.uk/cgi-bin/at.cgi?a=232715" target="external"><font color="#004000">Tacklebargains</font></a></font></strong></div></td></tr><tr><td width="33%" height="205"><div align="center"><script src="http://www.tacklebargains.co.uk/randomimage.js"></script><script>SetAffiliate("432029");this.document.write(TextList[NumArray[0]]);</script></div></td><td height="205" width="33%"><div align="center"><script>this.document.write(TextList[NumArray[1]] );</script></div></td></tr><tr><td width="33%" height="205"><div align="center"><script>this.document.write(TextList[NumArray[3]]);</script></div></td><td height="205" width="33%"><div align="center"><script>this.document.write(TextList[NumArray[4]] );</script></div></td></tr></table>
</td>
</tr>
</table>
<table width="100%" cellpadding="0" cellspacing="0" class="player">
<tr>
<td valign="top"><a href="#" onclick='change_headline(2); return false;' ><img src="{ROOT}/img/back.gif" border="0" id="back" align="left" alt="back" /></a>
<a href="#" onclick='change_headline(1); return false;' id="pauza" ><img src="{ROOT}/img/pause.gif" border="0" id="pause" align="left" alt="pause" /></a>
<a onclick='change_headline(3); return false;' href="#"><img src="{ROOT}/img/forward.gif" border="0" id="forward" align="left" alt="forward" /></a></td>
<td colspan="2" align="left" class="category_link_depth3"><strong><a id="headline_link" href="{LINK}">Full Story</a> » </strong></td>
</tr>
</table>
<!--<table cellpadding="0" cellspacing="0" width="100%">
<tr>
<td class="player" valign="top"><a href="#" onclick='change_headline(2); return false;' ><img src="{ROOT}/img/back.gif" border="0" id="back" align="left" alt="back" /></a>
<a href="#" onclick='change_headline(1); return false;' id="pauza" ><img src="{ROOT}/img/pause.gif" border="0" id="pause" align="left" alt="pause" /></a>
<a onclick='change_headline(3); return false;' href="#"><img src="{ROOT}/img/forward.gif" border="0" id="forward" align="left" alt="forward" /></a></td>
</tr>
</table> -->
<!-- end headlines -->