PDA

View Full Version : Html and php... very strange...


Corbu
05-24-2002, 07:32 AM
hello,

I have some problems with my header template.

That the top of my code of this template :
<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 :
<!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-FAMILY: Verdana,Arial,Helvetica,sans-serif;
FONT-SIZE: 11px;
COLOR: #000000;
BACKGROUND-COLOR: #CFCFCF
}
TEXTAREA, .bginput {
FONT-SIZE: 12px;
FONT-FAMILY: Verdana,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-DECORATION: none;
}
#cat A:hover {
COLOR: #000000;
TEXT-DECORATION: underline;
}
#ltlink A:link, #ltlink A:visited, #ltlink A:active {
COLOR: #000000;
TEXT-DECORATION: none;
}
#ltlink A:hover {
COLOR: #FFFFFF;
TEXT-DECORATION: underline;
}
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 !