Eric035 Posted October 15, 2006 Share Posted October 15, 2006 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 ??? Quote Link to comment https://forums.phpfreaks.com/topic/23996-problems-with-positioning-table-when-including-files/ Share on other sites More sharing options...
redbullmarky Posted October 15, 2006 Share Posted October 15, 2006 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 helpscheers Quote Link to comment https://forums.phpfreaks.com/topic/23996-problems-with-positioning-table-when-including-files/#findComment-109031 Share on other sites More sharing options...
Eric035 Posted October 15, 2006 Author Share Posted October 15, 2006 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.Eric035Ps: I only forgot the '/' sign in this message. But thanks for saying. Quote Link to comment https://forums.phpfreaks.com/topic/23996-problems-with-positioning-table-when-including-files/#findComment-109061 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.