vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Header Graphic Issue (https://vborg.vbsupport.ru/showthread.php?t=97827)

revlimiter 10-07-2005 07:55 PM

Header Graphic Issue
 
Both Firefox and IE are displaying my header graphic rather strangely.. Check out www.auto-labs.com/forum

Firefox makes the entire top area of the screen clickable (I only want the graphic to take you back to the homepage) and it's not nudged up next to the main navigation/top of the window.

IE adds even more extra margin or padding or something. I don't understand it. CSS font size?

Thanks for the help :)

CommuneZoom 10-09-2005 08:48 AM

Code:

    var choice = pickRandom(ic);
    document.writeln('<a href="http://www.auto-labs.com/forum/"' + '<TABLE WIDTH=792 HEIGHT=154 ALIGN=CENTER><TR><TD>' +
                                    '<IMG SRC="' + i[choice] +
                    '" HEIGHT="154" WIDTH="792" BORDER=0 id="forumlogo"><' +
                    "/P><" + "/TD><" + "/TR><" + "/TABLE></a>");

From the looks of it, you are trying to link a table and closing the link after closing the table. Should the <a href=""></a> not be surrounding the image instead?

revlimiter 10-17-2005 02:35 AM

Thanks CommuneZoom :)

It appears that fixes Firefox, but IE loses the image entirely. Here is my code..
Code:

    var choice = pickRandom(ic);
    document.writeln('<TABLE WIDTH=792 HEIGHT=154 ALIGN=CENTER><TR><TD>' +
                                    '<a href="http://www.auto-labs.com/forum/"' + '<IMG SRC="' + i[choice] +
                    '" HEIGHT="154" WIDTH="792" BORDER=0 id="forumlogo"><' +
                    "/P><" + "/TD><" + "/TR></a><" + "/TABLE>");



All times are GMT. The time now is 01:01 PM.

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.00987 seconds
  • Memory Usage 1,713KB
  • 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
  • (2)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (3)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