Jump to content

Archived

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

Eric035

Problems with positioning table when including files

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  ???

Share this post


Link to post
Share on other sites
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

Share this post


Link to post
Share on other sites
Thank for your reply, but i have found the problem by myself. I must place
the include() tag on the place where it belongs exactly.

Eric035

Ps: I only forgot the '/' sign in this message. But thanks for saying.

Share this post


Link to post
Share on other sites

×

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.