Results 1 to 2 of 2

Thread: layout issues with php includes

  1. #1
    nnclyn Guest

    layout issues with php includes

    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!
    Last edited by Alan; 16 Apr 2009 at 06:41 PM. Reason: Fixed broken link

  2. #2
    Join Date
    Feb 2007
    Location
    Ireland
    Posts
    1,007
    I believe the problem is your document type.

    In the first link, your document type is:
    HTML Code:
    <!doctype html public "-//W3C//DTD HTML 4.01 Transitional//EN">
    While in the second link, the document type is:
    HTML Code:
    <!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). :-)
    “The best thing about a boolean is even if you are wrong, you are only off by a bit.”

Similar Threads

  1. PHP Issues
    By Drone-7 in forum Client & Server Side Scripting (PHP, ASP, JavaScript)
    Replies: 0
    Last Post: 16 Apr 2008, 05:11 PM
  2. Dynamic php includes
    By xstevey_bx in forum Client & Server Side Scripting (PHP, ASP, JavaScript)
    Replies: 0
    Last Post: 21 Sep 2006, 02:04 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •