Jump to content

Problems with positioning table when including files


Eric035

Recommended Posts

Hello,

At first sorry for my poor english. I have a problem with the positioning from tables,
when i'm including files. The built up of my index page is as follow.

[code]
<html>

<head>
  <title>.....</title>
<head>

<? include("..."); ?>

<body style="margin:0;">
  <table>
  ......
  </table>
</body>

</html>
[/code]

After including the include() tag the body margin tag isn't working any more and the table dropdown two rows.

Can somebody help me, so my tables positioning is on the top of my page again.

Eric035  ???
theoretically you shouldnt really put anything between the HEAD and BODY tags. i'm guessing your problem though is your closing head tag:


[code]
<head>
  <title>.....</title>
<head>
[/code]

should be

[code]
<head>
  <title>.....</title>
</head>
[/code]

[b]edit:[/b] however, if that's a type in the code when you pasted it here, and is not actually the problem with your code, then there's a chance that the 'include' file might have something in it that echo's to the screen.

hope that helps
cheers

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.