vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Centering image... getting errors... (https://vborg.vbsupport.ru/showthread.php?t=194780)

westernohiopc 10-28-2008 07:13 AM

Centering image... getting errors...
 
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:

Code:

</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. ;)


All times are GMT. The time now is 09:18 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.00966 seconds
  • Memory Usage 1,716KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete