vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Design and Graphics Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=168)
-   -   Stumped IE problem (https://vborg.vbsupport.ru/showthread.php?t=215947)

Butcher 06-11-2009 07:34 PM

Stumped IE problem
 
1 Attachment(s)
Ok sat and made a new style first time in a while i'll tell you.

All looks great (well does to me) in firefox. So before i was due to share i took a peek at how it looked in IE and as usual it's being a pain. The header seems to have lifted away fro the forums block.

See screen shots and you see.
How do i get rid of this gap between header images and main forum in IE

here is my header code
HTML Code:

<!-- logo -->
<a name="top"></a>
<table cellpadding="0" cellspacing="0" border="0" width="960" align="center" class="headerbg">
<tr>


        <td align="$stylevar[left]"><a href="$vboptions[forumhome].php$session[sessionurl_q]"><img src="images/logo.gif"  border="0" alt="$vboptions[bbtitle]" /></a></td>
                        <td><if condition="$ad_location['ad_header_logo']">$ad_location[ad_header_logo]<else /></if></td>
<td align="$stylevar[right]"><img src="images/header_r.gif" border="0">
        </td>


</tr>
</table>

<!-- /logo -->


Lynne 06-11-2009 08:25 PM

What does the page source look like?

Butcher 06-11-2009 08:53 PM

hmmmm
Can't see any diff between the two or anything that would make this happen.
anyway here's what the header part loks like in page source. Not sure how much you want to see

HTML Code:


</script>
<script type="text/javascript" src="http://style.the-redlion.org.uk/forums/clientscript/vbulletin_lightbox.js?v=382"></script>

</head>
<body>

<!-- logo -->
<a name="top"></a>
<table cellpadding="0" cellspacing="0" border="0" width="960" align="center" class="headerbg">
<tr>


        <td align="left"><a href="index.php"><img src="images/logo.gif"  border="0" alt="Design's" /></a></td>
                        <td></td>
<td align="right"><img src="images/header_r.gif" border="0">
        </td>


</tr>
</table>

<!-- /logo -->
<div align="center"><img src="http://style.the-redlion.org.uk/forums/images/boxt.jpg"></div>
<table cellpadding="0" cellspacing="0" border="0" width="960" align="center">
<tr>
<td align="left" class="box">

<!-- content table -->
<!-- open content container -->

i've had stuff like this creap up before in the past but tonight i'm stumped and thought i'd ask :)

Lynne 06-11-2009 10:25 PM

So, the gap you are seeing is right where the <!-- /logo --> is - after the close of the table and before the div tag? Perhaps the div tag has some padding around it? I know firebug is a great addon for firefox to figure these things out, I would guess there is something similar for IE. You might want to see about that and see if you can figure it out using something like that.

RCWF-AoD 06-12-2009 01:55 AM

IE is such a pain in the rear man. If you don't have the spacing right, the right page breaks or even the centering tags right, it ALWAYS seems like IE is the first to notice LOL.

It looks like you may have an enter mark between tags somewhere. You may have forgot a </tr> tag though the way it looks.

Butcher 06-12-2009 02:51 PM

Quote:

Originally Posted by Lynne (Post 1827925)
So, the gap you are seeing is right where the <!-- /logo --> is - after the close of the table and before the div tag? Perhaps the div tag has some padding around it? I know firebug is a great addon for firefox to figure these things out, I would guess there is something similar for IE. You might want to see about that and see if you can figure it out using something like that.

I thought as much myself so removed the div line as that was just adding some extra space and the line break is still present.

I just wish the uneducated would stop using IE ;)
hate the damn program. Could release this style if so :)

RCWF-AoD 06-13-2009 04:56 AM

Could it be the class in the table?

<table cellpadding="0" cellspacing="0" border="0" width="960" align="center" class="headerbg">

Does the "headerbg" class have anything for bottom border sizes? I haven't used the tags in a while like that, but I know you can somehow set border sizes for tables on different sides... Maybe that's the problem and it's causing a border?

Butcher 06-13-2009 09:35 AM

yeah possibly. But I scrapped that header design now and came up with something else :)


All times are GMT. The time now is 10: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.01471 seconds
  • Memory Usage 1,740KB
  • 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_html_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (8)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