PDA

View Full Version : Header direction Problem !!!


GSMata
09-19-2008, 08:33 AM
after install advertizment for forum my header show different style

my logo show in right and banner show in left and my header code is here :


<!-- 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="$stylevar[titleimage]" border="0" alt="$vboptions[bbtitle]" /></a></td>

<td align="$stylevar[right]"><center><if condition="$ad_headerLogo"><center>$ad_headerLogo</center><else />&nbsp;</if></center>

<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]

$ad_headerEnd


i want to show my banner in right and my logo show in left
my site is forum.doctormob.com

Lynne
09-19-2008, 03:45 PM
One of your td tags is not properly closed. Maybe that is causing the problem?
<td align="$stylevar[right]"><center><if condition="$ad_headerLogo"><center>$ad_headerLogo</center><else />&nbsp;</if></center></td>


If that's not it, perhaps all you need to do is switch the order of the td tags in the table.

GSMata
09-22-2008, 02:48 PM
One of your td tags is not properly closed. Maybe that is causing the problem?
<td align="$stylevar[right]"><center><if condition="$ad_headerLogo"><center>$ad_headerLogo</center><else />&nbsp;</if></center></td>


If that's not it, perhaps all you need to do is switch the order of the td tags in the table.

tnx man

do this but still same !! :(

plz explane this for me

If that's not it, perhaps all you need to do is switch the order of the td tags in the table.

Lynne
09-22-2008, 03:34 PM
plz explane this for me
I mean right now you have:
<td>image</td>
<td>something else</td>
<td>another something</td>

So try switching them around:
<td>another something</td>
<td>something else</td>
<td>image</td>

GSMata
09-23-2008, 06:02 PM
i do with default style in one <td> tag and still same pb

and do your sulotion

im very confused !!

Lynne
09-23-2008, 07:13 PM
I'm sorry, I don't know what else to suggest.

Xtrato
09-23-2008, 11:01 PM
try the <td alight="left"> on where you have

<td align="$stylevar[right]">

just do tests like that, keep messing with the <td> alignments , lynnes pretty much on the spot, not of much help if one doesn troubleshoot the problems ourselves.