Log in

View Full Version : Centering image... getting errors...


westernohiopc
10-28-2008, 07:13 AM
This is a image we have put up about the logo... we are having problems with it,

1. it doesnt show up on all styles...
2. I can not for the life of me get it centered.

here is my header code...

the red lettering is where Im having the probelms
<!-- logo -->

<align="center"><a href="http://www.eliteftausa.com"><img src="/forums/images/misc/eliteftausa.gif"

$marquee


<a name="top"></a>
<table border="0" width="$stylevar[outertablewidth]" cellpadding="0" cellspacing="0" align="center">
<tr>
<td align="center"><a href="$vboptions[forumhome].php$session[sessionurl_q]"><img src="$stylevar[titleimage]" 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 -->
</table>

<!-- content table -->
$spacer_open

$_phpinclude_output


If anyone could re write this correctly I would be thankful.

Sycoloco1212
10-28-2008, 07:39 AM
u can use <center><a href="http://www.eliteftausa.com"><img src="/forums/images/misc/eliteftausa.gif"></a></center> =)

snakes1100
10-28-2008, 08:24 AM
1. You added a new image and it has a broken tag on the end. no </a>

2. The marquee is not contained in any sort of html code.

3. You commented out the 2nd default td, which is correct, but you left the default titleimage td active.

westernohiopc
10-28-2008, 05:59 PM
So how do I fix it ... lol?

This code is in the defualt style, Do I need to go in and change this in every style "header" section for this to appear in all ?

Rich
10-29-2008, 02:19 AM
You need to change the value of the image unless you are using child styles.

I am more curious about this though:

</table>
<!-- /logo -->
</table>

Why are there 2 closing tables when all I can see is one open table?

It would help if we had a link btw. ;)