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)
-   -   Quick Question, Annoying Gap on IE (https://vborg.vbsupport.ru/showthread.php?t=183145)

Bacon Butty 06-21-2008 12:43 PM

Quick Question, Annoying Gap on IE
 
Hi guys,

I am working on a new header for my vBulletin forums, and I am baffled as to why this code;

PHP Code:

<table border="0" width="$stylevar[outertablewidth]cellpadding="0" cellspacing="0" align="center">
<
tr>
<
td bgcolor="#FFFFFF">
<
img src="headerimage1.jpg" border="0">
<!-- 
breadcrumbloginpm info -->
<
table style="background-image:url(headerimage2.jpg); background-color:#ffffff; background-position:left; background-repeat:no-repeat;">
<
tr

Creates a perfect header on firefox (here http://img82.imageshack.us/img82/9106/firefoxye1.jpg ), but on IE, theres a line - http://img529.imageshack.us/img529/2746/iexc6.jpg

I have spent hours trying to resolve this.

Any ideas/solutions greatly appreciated :)

Attitude5ire 06-21-2008 01:23 PM

Looks like Cell spacing or padding, IE does render tables differently. Try adding cellspacing and cellpadding 0 to your table in header.

P.S: jus a tip style using classes is much neater solution.

Bacon Butty 06-21-2008 01:27 PM

Thanks for helping.

Missed a bit of code of though sorry, already have;

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

Above the code mentioned earlier. Now edited first post.

I wouldn't know how to use 'classes'

Attitude5ire 06-21-2008 01:39 PM

You have another table there.. which has style:attribute..
Classes are used using CSS.

Jus post your whole header template here.
if you can link to vb forum wud be helpful too.

Guest210212002 06-21-2008 01:55 PM

http://validator.w3.org

58 Errors for your site, start there.

http://www.sevenstring.org/chris/goterrors.jpg

Bacon Butty 06-21-2008 02:11 PM

Quote:

Originally Posted by Attitude5ire (Post 1555441)
You have another table there.. which has style:attribute..
Classes are used using CSS.

Jus post your whole header template here.
if you can link to vb forum wud be helpful too.

Its actually in the navbar (editing pre made skin...)

Attitude5ire 06-21-2008 02:21 PM

Well i dont think its the same skin.
anyway try this
Code:

<table style="background-image:url(images/feelingblues/misc/header_line2.jpg); background-color:#ffffff; background-position:left; background-repeat:no-repeat;">
Add cellspacing and padding to this table.Also you shoudve put your header image in header template as there is already slot for it there.. anyway try this.

Code:

<table cellpadding="0" cellspacing="0" style="background-image:url(images/feelingblues/misc/header_line2.jpg); background-color:#ffffff; background-position:left; background-repeat:no-repeat;">

Bacon Butty 06-21-2008 02:38 PM

Okay, I stuck it in the header template and I believe you meant to make these changes?;


All times are GMT. The time now is 12:59 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.03756 seconds
  • Memory Usage 1,729KB
  • 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)bbcode_php_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