Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > General > Member Archives
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Html and php... very strange... Details »»
Html and php... very strange...
Version: , by Corbu Corbu is offline
Developer Last Online: May 2004 Show Printable Version Email this Page

Version: Unknown Rating:
Released: 05-24-2002 Last Update: Never Installs: 0
 
No support by the author.

hello,

I have some problems with my header template.

That the top of my code of this template :
PHP Code:
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<
table width="100%" border="0" valign="top" align="center" cellpadding="0" cellspacing="0">
  <
tr
    <
td width="50%" background="**imagefolder/t_02.gif">&nbsp;</td>
    <
td colspan="9" align="center" background="**imagefolder/t_02.gif"
      <
div align="center"><img src="**imagefolder/t_03.gif" width="542" height="101"></div></td>
    <
td width="100%" background="**imagefolder/t_02.gif">&nbsp;</td>
  </
tr
That's a screenshoot of the banner I add on the top of my vbulletin board
As you can see on the screenshoot.... There is a large band , a black band at about 20 pixels maybe on the top. It's strange because my table is configured with this : valign="top" soo, normaly there were no band on the top, ONLY my own made banner !

Soo..what is the problem on this ?
Can you help me ?

And... soo again for my very bad english, I hope you understand.

Thank you

Download Now

File Type: (21.4 KB, 23 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 05-24-2002, 01:45 PM
Sinecure's Avatar
Sinecure Sinecure is offline
 
Join Date: Oct 2001
Location: Victoria, BC, Canada
Posts: 407
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Make sure in your body tag your TOP margin is set to 0
You can find this in the styles portion of the admin cp
Reply With Quote
  #3  
Old 05-25-2002, 04:26 PM
Corbu's Avatar
Corbu Corbu is offline
 
Join Date: Apr 2002
Posts: 85
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ok, sow... It doesn't work better... I allready have at about 10 pixels of margin on the top of my page.... very strange...

As you can see on the top of my code page, there is no marges on the top :
PHP Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<
html>
<
head>
    <!-- 
no cache headers -->
    <
meta http-equiv="Pragma" content="no-cache">
    <
meta http-equiv="no-cache">
    <
meta http-equiv="Expires" content="-1">
    <
meta http-equiv="Cache-Control" content="no-cache">
    
..............

    
SCROLLBAR-BASE-COLOR#333333;
    
SCROLLBAR-ARROW-COLOR#000000;
}
SELECT {
    
FONT-FAMILYVerdana,Arial,Helvetica,sans-serif;
    
FONT-SIZE11px;
    
COLOR#000000;
    
BACKGROUND-COLOR#CFCFCF
}
TEXTAREA, .bginput {
    
FONT-SIZE12px;
    
FONT-FAMILYVerdana,Arial,Helvetica,sans-serif;
    
COLOR#000000;
    
BACKGROUND-COLOR#CFCFCF
}
#all A:link, #all A:visited, #all A:active {
    
COLOR#000000;
}
#all A:hover {
    
COLOR#FFFFFF;
}
#cat A:link, #cat A:visited, #cat A:active {
    
COLOR#000000;
    
TEXT-DECORATIONnone;
}
#cat A:hover {
    
COLOR#000000;
    
TEXT-DECORATIONunderline;
}
#ltlink A:link, #ltlink A:visited, #ltlink A:active {
    
COLOR#000000;
    
TEXT-DECORATIONnone;
}
#ltlink A:hover {
    
COLOR#FFFFFF;
    
TEXT-DECORATIONunderline;
}
thtcolor {
    
COLOR#000000;
}
</
style>


</
head>
<
body bgcolor="#000000" text="#FFFFFF" id="all" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" link="#000020" vlink="#000020" alink="#000020">
<
body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<
table width="100%" border="0" valign="top" align="center" cellpadding="0" cellspacing="0">
  <
tr
    <
td width="50%" background="images/t_02.gif">&nbsp;</td>
    <
td colspan="9" align="center" background="images/t_02.gif"
      <
div align="center"><img src="images/t_03.gif" width="542" height="101"></div></td>
    <
td width="100%" background="images/t_02.gif">&nbsp;</td>
  </
tr>
................ 
soo...i'm desapointed for that...

Thank you again for your help !
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 05:05 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04029 seconds
  • Memory Usage 2,264KB
  • Queries Executed 17 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_php
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (3)post_thanks_box
  • (3)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (3)post_thanks_postbit_info
  • (2)postbit
  • (1)postbit_attachment
  • (3)postbit_onlinestatus
  • (3)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete