PHP making page distorted?

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
internize
Forum Newbie
Posts: 2
Joined: Sun Sep 20, 2009 10:18 am

PHP making page distorted?

Post by internize »

Hi everyone!

I hope you are all ok! Could someone please have a look at the source code for this page ... http://www.internize.netau.net/seolinks/links.php

Has anyone got any ideas why is it looking distorted and different from all the other pages?
cpetercarter
Forum Contributor
Posts: 474
Joined: Sat Jul 25, 2009 2:00 am

Re: PHP making page distorted?

Post by cpetercarter »

You could start by checking the html on the w3.org validator and putting right the various validation errors which it contains.

I think that the page cannot find your background images. Without knowing how your site is configured, it is difficult to be sure. However, I note that your other pages all seem to run off scripts in the root of your site, while the page you have problems with is run from a script in a subdirectory "/seolinks". Yet all your pages seem to have references to images in a folder "/images". This may not be the correct path for the images on your seolinks/links.php page. Try "../images" instead.
internize
Forum Newbie
Posts: 2
Joined: Sun Sep 20, 2009 10:18 am

Re: PHP making page distorted?

Post by internize »

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