Jump to content

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

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.