vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Member Archives (https://vborg.vbsupport.ru/forumdisplay.php?f=202)
-   -   Html and php... very strange... (https://vborg.vbsupport.ru/showthread.php?t=38985)

Corbu 05-24-2002 07:32 AM

Html and php... very strange...
 
1 Attachment(s)
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

Sinecure 05-24-2002 01:45 PM

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 :)

Corbu 05-25-2002 04:26 PM

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 !


All times are GMT. The time now is 12:18 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.01049 seconds
  • Memory Usage 1,751KB
  • 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_php_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