PDA

View Full Version : layout issues with php includes



nnclyn
15 Apr 2009, 09:58 AM
I am redoing a website and am havinga problem with the layout changing as I added contributions to it.

Cpmpare:

http://thefertilityshop.com/fertility

to http://thefertilityshop.com/fertility/articles.php


there is a column or table that's been added and I can't seem to figure out how to correct it in the articles.php page.

Any help would be greatly appreciated!

Alan
16 Apr 2009, 06:43 PM
I believe the problem is your document type.

In the first link, your document type is:

<!doctype html public "-//W3C//DTD HTML 4.01 Transitional//EN">

While in the second link, the document type is:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

Update the document type of the page you like least to match the page you prefer and your problem should be solved. (If that is the issue). :-)