vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Problem w/ Mozilla and Logo (https://vborg.vbsupport.ru/showthread.php?t=165225)

Chimpie 12-15-2007 12:37 PM

Problem w/ Mozilla and Logo
 
For some reason in Mozilla Firefox my logo is being thrown to the right. (It's fine in IE7.)
www.skywarnforum.org/forums

Here's the code:
Quote:

<!-- logo -->
<a name="top"></a>
<table border="0" width="$stylevar[outertablewidth]" cellpadding="0" cellspacing="0" align="center">
<tr>
<td style="background-image:url('$stylevar[imgdir_misc]/leftborder.gif'); background-repeat:repeat-y;" height="100%"><img src="$stylevar[imgdir_misc]/leftborder.gif" border="0" alt="" /></td>
<td valign="top" width="$stylvar[outertablewidth]" class="page">

<br />
<table border="0" width="$stylevar[outertablewidth]" cellpadding="0" cellspacing="0" align="center">
<tr>

<td align="right" width="360">
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
<a href="$vboptions[forumurl]"><img src="$stylevar[imgdir_misc]/logo.gif" border="0" alt="" /></a></td>

</tr>
</table>

<!-- /logo -->

<!-- content table -->
$spacer_open

$_phpinclude_output
Thoughts?

valdet 12-15-2007 01:29 PM

Quote:

Originally Posted by Chimpie (Post 1401518)
For some reason in Mozilla Firefox my logo is being thrown to the right. (It's fine in IE7.)
www.skywarnforum.org/forums

Here's the code:


Thoughts?

It is because you have set the table to be aligned to the right side

Quote:

<td align="right" width="360">
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
<a href="$vboptions[forumurl]"><img src="$stylevar[imgdir_misc]/logo.gif" border="0" alt="" /></a></td>
Fix that one and you should have no problems.

Val.

Chimpie 12-15-2007 02:08 PM

Thanks. I'm not sure why he coded it like that.

Next question: Why, in FF, is the logo is further to the right than when the site is opened in IE7?

valdet 12-15-2007 02:15 PM

you need to remove all those spaces

Quote:

<td align="right" width="360">
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
<a href="$vboptions[forumurl]"><img src="$stylevar[imgdir_misc]/logo.gif" border="0" alt="" /></a></td>
and you will be good to go.

Regards,
Val.

Chimpie 12-15-2007 02:16 PM

I thought that, but the question remains, why, with those spaces, does IE7 still show it thrown all the way to the left?

valdet 12-15-2007 02:19 PM

It is because IE does not render those non-breaking spaces as they are intended to be.

Chimpie 12-15-2007 02:25 PM

Quote:

Originally Posted by valdet (Post 1401557)
It is because IE does not render those non-breaking spaces as they are intended to be.


+1 for FF then I guess. LOL

dismas 12-15-2007 03:40 PM

Sort of off topic here but your logo looks like it says "Skywam". Since I have no idea what Skywarn is, it kind of threw me off. Either way though, you might want to put a little space between the letters.

Chimpie 12-15-2007 04:15 PM

Quote:

Originally Posted by dismas (Post 1401619)
Sort of off topic here but your logo looks like it says "Skywam". Since I have no idea what Skywarn is, it kind of threw me off. Either way though, you might want to put a little space between the letters.

It says S K Y W A R N but the font makes the r and n appear as an M.

Noted though, thanks. We may have to address that one.

Check out the About Skywarn section. LOL


All times are GMT. The time now is 01:17 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.00992 seconds
  • Memory Usage 1,730KB
  • 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
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (9)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