i want to embed this image link below the copyright on 1.1.7 default theme
can some 1 tell me where and how and what changes need to be made or added to it to get it centred - cheers
<a href="http://www.**********.com"><img src="http://www.*********.com/*******.jpg" alt="*********" width="88" height="31" border="0" longdesc="http://www.********.com" /></a>"
Do it like this. Find this bit:
<td width="28%" valign="middle" align="', !$context['right_to_left'] ? 'left' : 'right', '">
<a href="http://validator.w3.org/check/referer" target="_blank"><img id="valid-xhtml10" src="', $settings['images_url'], '/valid-xhtml10.gif" alt="', $txt['valid_xhtml'], '" width="54" height="20" style="margin: 5px 16px;" onmouseover="smfFooterHighlight(this, true);" onmouseout="smfFooterHighlight(this, false);" /></a>
<a href="http://jigsaw.w3.org/css-validator/check/referer" target="_blank"><img id="valid-css" src="', $settings['images_url'], '/valid-css.gif" alt="', $txt['valid_css'], '" width="54" height="20" style="margin: 5px 16px;" onmouseover="smfFooterHighlight(this, true);" onmouseout="smfFooterHighlight(this, false);" /></a>
</td>
</tr>
</table>';
and replace it with:
<td width="28%" valign="middle" align="', !$context['right_to_left'] ? 'left' : 'right', '">
<a href="http://validator.w3.org/check/referer" target="_blank"><img id="valid-xhtml10" src="', $settings['images_url'], '/valid-xhtml10.gif" alt="', $txt['valid_xhtml'], '" width="54" height="20" style="margin: 5px 16px;" onmouseover="smfFooterHighlight(this, true);" onmouseout="smfFooterHighlight(this, false);" /></a>
<a href="http://jigsaw.w3.org/css-validator/check/referer" target="_blank"><img id="valid-css" src="', $settings['images_url'], '/valid-css.gif" alt="', $txt['valid_css'], '" width="54" height="20" style="margin: 5px 16px;" onmouseover="smfFooterHighlight(this, true);" onmouseout="smfFooterHighlight(this, false);" /></a>
</td>
</tr>
<tr align="center"><td><a href="http://www.**********.com"><img src="http://www.*********.com/*******.jpg" alt="*********" width="88" height="31" border="0" longdesc="http://www.********.com" /></a></td>
</tr>
</table>';
cheers for your help......... yet again, are you sick of me yet ;) lol
Nah. You're ok. Did it work?
Ive added the code and the image is displayed but its aligning over to the left hand side - if you click the forum link under my signature image you can see its positioning
find:
<tr align="center"><td><a href="http://www.**********.com"><img src="http://www.*********.com/*******.jpg" alt="*********" width="88" height="31" border="0" longdesc="http://www.********.com" /></a></td>
</tr>
replace with
<tr><td align="center" colspan="3"><a href="http://www.**********.com"><img src="http://www.*********.com/*******.jpg" alt="*********" width="88" height="31" border="0" longdesc="http://www.********.com" /></a></td>
cheers runic ill try that in a bit im in the middle of something else at the moment but ill post and let you know
that worked, cheers
when you doing a table and your first row has 3 collumns, and your second row you only need one you need to use the colspan otherwise it lays it out so the collumn on row two ends at end of collumn 1 , for this colspan="3" makes the collumn on row 2 span all the way over to end of table, if I had colspan="2" it would end at end of the second collumn and so forth, also align tags shouldnt be put into the <tr>
Runic Warrior
Customize Team Mentor
Local Moderator
Simple Machines Hero
*
Online Online
Gender: Male
Posts: 9,740 <--------------------------- maybe when i reach this amount of posts i'll come back and read your post again and fully understand what you just said lol
im an expert at cut and paste tho lol
lol maybe but it depends on how much spam you do in chat chat :P
Those darned colspans again (things drive me crazy lol).
Damn. Forgot the colspans again. Should know better but it was late. Thanks Runic.
its ok i'll let you off........ just dont do it again :D