internize Posted September 20, 2009 Share Posted September 20, 2009 Hi everyone, i hope someone can help me with this because im tearing my hair out. I have a page on my site that contains php. Here is the page :www.internize.netau.net/seolinks/links.php Could someone please have a look at the source code and tell me why the page is coming out looking the way it is? I've had problems like this before but its been due to an extra </html> tag being there, the header and footer files contain nothing. Any ideas? Quote Link to comment Share on other sites More sharing options...
Sedushi Posted September 20, 2009 Share Posted September 20, 2009 Well I think it's because you don't have a return after the closing ?> tag. Heres an example of what I mean: <html> <head> <title>Test</title> </head> <body> <?php echo "<p>Hello "; ?> < -- press enter on this line. World!</p> </body> </html> I'm not really sure why it does that but that should fix it. Quote Link to comment Share on other sites More sharing options...
PFMaBiSmAd Posted September 20, 2009 Share Posted September 20, 2009 Your page has HTML markup 13 Errors and 5 warnings - http://validator.w3.org/check?uri=www.internize.netau.net%2Fseolinks%2Flinks.php&charset=%28detect+automatically%29&doctype=Inline&group=0 Fix them and see if it corrects your problem. Quote Link to comment Share on other sites More sharing options...
internize Posted September 20, 2009 Author Share Posted September 20, 2009 Hi, i have sorted the problem, there was a css file in the within the php script that was conflicting with my sites css file. I just deleted the second css file and that sorted the problem but thanks for the advice, i'll check the w3 validation now and remove the references to the second css file. Quote Link to comment 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.