Archive for myfreeforum.org Before posting please check the "stickies" in the support forums.
Please ask questions in real English and not "txt". You will get a better response.
Please do not ask support questions via PMs.
 


       myfreeforum.org Forum Index -> Web page/template Editing
brokerstar

Moving Logo to the center

Page I want to edit = http://tagpoker.myfastforum.org/

Searched for : Center Logo which took me here to the page bellow.

 http://forum.myfreeforum.org/about14498.html&highlight=center+centre+logo


I have followed this advice but I'm not sure if this is template dependant.

I have used the align="center" attribute but my logo is still sitting to the left of the page?
Quote:

<td><a href="http://www.tagpoker.co.uk"><img src="templates/myfs_tagpoker1/images/phpbb2_logo.jpg" align="center" border="0" alt="{L_INDEX}" title="{L_INDEX}" width="442" height="76" /></a></td>
<td align="center" width="100%">&nbsp;</td>
</tr>
</table>


Any ideas? I litterally have just bought a book called HTML for Dummies so please bare with me.

Broker
myff admin

Well this ones for free, as it looks obvious but read the book!

By the seems of it (and you have missed out the start of the table row, so I can't be 100%) the logo is in a table row defined to have two columns, the first of which has the logo, the second of which wants to take up all the room. Hence you are center aligning the image within a column that is only the width of the image anyway. Hence nothing happens.

The code should probably be:

Code:


<td width="100%" colspan="2"><a href="http://www.tagpoker.co.uk"><img src="templates/myfs_tagpoker1/images/phpbb2_logo.jpg" align="center" border="0" alt="{L_INDEX}" title="{L_INDEX}" width="442" height="76" /></a></td>

</tr>
</table>


Please try and understand the change.
brokerstar

I think I understand.

So are you saying that the top of the forum, although it looks like one entity, is essentially two sections?

and I have aligned the logo in the middle of the first section which happens to be about the first 25% of the entire page?
brokerstar

So this is the code that I have put in there now but it's still to the left.


Quote:

<table class="bodyline" width="100%" cellspacing="0" cellpadding="0" border="0">
<tr>
<td>

<td width="100%" colspan="2"><a href="http://www.tagpoker.co.uk"><img src="templates/myfs_tagpoker1/images/phpbb2_logo.jpg" align="center" border="0" alt="{L_INDEX}" title="{L_INDEX}" width="442" height="76" /></a></td>

</tr>
</table>


Do I need to create or change the actual table?
symon

As admin has said please read and try and understand it,,,,


Here is the guide for centering logos..

http://howtodoit.myfreeforum.org/...component=content&topicid=560
myff admin

You code now has <td><td> which starts a table column twice. e.g. it is invalid html. It is not what I said to do. I gave you code to replace the code you gave. It was not certain to work but certainly won't work if replaced incorrectly!

       myfreeforum.org Forum Index -> Web page/template Editing
Page 1 of 1
Create your own free forum | Buy a domain to use with your forum