PDA

View Full Version : Image Alignment


mk craig 42
02-12-2009, 07:44 AM
Hi, i need some help with the banner on my forum and the bottom of my forum, www.clan-sip.com as you can see the banner doesn't line up with the rest of the forum even though it is the correct width, also i need some help with the bottom of my forum it looks really rough, i was hoping someone could help me to get it to look like the bottom of www.clubhabboforum.net or similar.

thank you in advance. :)

vbplusme
02-12-2009, 07:55 AM
In your header template:

<table border="0" width="850" cellpadding="0" cellspacing="0" align="center">
<tr>
<td align="left"><a href="index.php?"><img src="/forum/images/banner.jpg" border="0" alt="Skill In Peace" /></a></td>

<td align="right" id="header_right_cell">
&nbsp;
</td>
</tr>
</table>

I think this, "<td align="left">" is the problem. If you change the left to center, it will probably align correct, though your reference site have removed the table construction completely but I think that isn't an issue. Change the alignment first if that doesn't work, you can convert the table to a <div> structure to fix it.

mk craig 42
02-12-2009, 08:06 AM
oo k thnx

--------------- Added 1234433323 at 1234433323 ---------------

ok i tried that and with no luck, how do i do the div thing you were talking about?

vbplusme
02-12-2009, 08:13 AM
Sorry, I was looking at the wrong align statement, change this one:

[HTML} <div style="padding:0px 25px 0px 25px" align="left">
[/HTML]

Its just after the table. Change the 25px to 15px

mk craig 42
02-12-2009, 08:22 AM
This is the whole text

<!-- logo -->
<a name="top"></a>
<table border="0" width="$stylevar[outertablewidth]" cellpadding="0" cellspacing="0" align="center">
<tr>
<td align="$stylevar[left]"><a href="$vboptions[forumhome].php$session[sessionurl_q]"><img src="/forum/images/banner.jpg" border="0" alt="$vboptions[bbtitle]" /></a></td>
<td align="$stylevar[right]" id="header_right_cell">
<if condition="$ad_location['ad_header_logo']">$ad_location[ad_header_logo]<else />&nbsp;</if>
</td>
</tr>
</table>
<!-- /logo -->

<!-- content table -->
$spacer_open

$_phpinclude_output

$ad_location[ad_header_end]



there is no div area

--------------- Added 1234445802 at 1234445802 ---------------

can anyone help me im still in need of a solution.

thanks

Seven Skins
02-12-2009, 12:44 PM
<!-- logo -->
<a name="top"></a>
<table border="0" width="$stylevar[outertablewidth]" cellpadding="0" cellspacing="0" align="center">
<tr>
<td align="$stylevar[left]"><a href="$vboptions[forumhome].php$session[sessionurl_q]"><img src="/forum/images/banner.jpg" border="0" alt="$vboptions[bbtitle]" /></a></td>
<!--<td align="$stylevar[right]" id="header_right_cell">
<if condition="$ad_location['ad_header_logo']">$ad_location[ad_header_logo]<else />&nbsp;</if>
</td>-->
</tr>
</table>
<!-- /logo -->

<!-- content table -->
$spacer_open

$_phpinclude_output

$ad_location[ad_header_end]


If you are not going to use advert in your header you can try the above code.

.

mk craig 42
02-12-2009, 01:00 PM
omg thank you seven that worked! thnx so much