Jump to content


Photo

Problems with positioning table when including files


  • Please log in to reply
2 replies to this topic

#1 Eric035

Eric035
  • New Members
  • Pip
  • Newbie
  • 2 posts
  • LocationNederland

Posted 15 October 2006 - 11:15 AM

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.

<html>

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

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

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

</html>

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  ???
_________________________
W: http://www.diks-online.nl
E : info@diks-online.nl

#2 redbullmarky

redbullmarky
  • Staff Alumni
  • Advanced Member
  • 2,863 posts
  • LocationBedfordshire, England

Posted 15 October 2006 - 12:54 PM

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


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

should be

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

edit: 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
"you have to keep pissing in the wind to learn how to keep your shoes dry..."

I say old chap, that is rather amusing!

#3 Eric035

Eric035
  • New Members
  • Pip
  • Newbie
  • 2 posts
  • LocationNederland

Posted 15 October 2006 - 03:43 PM

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.


_________________________
W: http://www.diks-online.nl
E : info@diks-online.nl




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users