Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 4 of 4
  1. #1
    Junior Member
    Join Date
    Mar 2011
    Posts
    26
    Member #
    27233
    Liked
    1 times
    I created a site and am having a problem with 2 of the 4 pages in Internet Explorer. The content is floating to the left when I need it to center. 3 of the pages come from the same CSS, so I am having a hard time figuring out what I did wrong. Any help would be greatly appreciated!

    The site is
    The pages giving me trouble are the home and gallery pages.

    Thanks again!

  2.  

  3. #2
    WDF Staff mlseim's Avatar
    Join Date
    Apr 2004
    Location
    Cottage Grove, Minnesota
    Posts
    7,715
    Member #
    5580
    Liked
    717 times
    When I view the HTML on the various pages, I'm seeing differences at the end
    of the script (near the footer). A different number of closing </div> tags.

    If you use Notepad++ (http://notepad-plus-plus.org/) to edit your scripts, you'll see
    that you can highlight <div> tags and it will automatically highlight the closing </div>.
    Some of them don't match ... thus, I'm guessing that's the problem.


  4. #3
    Junior Member
    Join Date
    Mar 2011
    Posts
    26
    Member #
    27233
    Liked
    1 times
    Quote Originally Posted by mlseim, post: 229285
    When I view the HTML on the various pages, I'm seeing differences at the end
    of the script (near the footer). A different number of closing </div> tags.

    If you use Notepad++ (http://notepad-plus-plus.org/) to edit your scripts, you'll see
    that you can highlight <div> tags and it will automatically highlight the closing </div>.
    Some of them don't match ... thus, I'm guessing that's the problem.
    --I've tried checking that already, no divs left open. I'm really confused since all of the pages are based off the same css page...

  5. #4
    Junior Member
    Join Date
    Mar 2011
    Posts
    26
    Member #
    27233
    Liked
    1 times
    Quote Originally Posted by mlseim, post: 229285
    When I view the HTML on the various pages, I'm seeing differences at the end
    of the script (near the footer). A different number of closing </div> tags.

    If you use Notepad++ (http://notepad-plus-plus.org/) to edit your scripts, you'll see
    that you can highlight <div> tags and it will automatically highlight the closing </div>.
    Some of them don't match ... thus, I'm guessing that's the problem.
    --Found my issue!!

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">

    I had some of this code missing on those two pages. As soon as I corrected it the pages were fixed!
    Thanks for taking the time to check out my pages and give suggestions


Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -6. The time now is 12:46 AM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com