Help with open <div> tags

Discussion in 'HTML & Website Design' started by Rebtl, Aug 10, 2008.

  1. #1
    Ok guys, something is wrong site. It says I have some div tags open, but I can't figure out how to fix it.

    http://readbtl.com/

    there is the site. As you can see the side bar is at the bottom, and inside the main content box.

    here is the w3 validation results
    with errors.

    I have tried closing them in different places several times, but nothing works. and if one thing works for the home page, it screws up the rest of my pages.

    I only know enough html to get me into trouble

    Any help would be greatly appreciated.
     
    Rebtl, Aug 10, 2008 IP
  2. TwitterMonster

    TwitterMonster Peon

    Messages:
    4
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    It's hard to say without really looking at the source code, but the validation check gives you the lines where the errors are.
     
    TwitterMonster, Aug 10, 2008 IP
  3. Rebtl

    Rebtl Active Member

    Messages:
    248
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    55
    #3
    I mean, the source code is listed below the validation errors, or you can just go to my site and view source code
     
    Rebtl, Aug 10, 2008 IP
  4. mupha

    mupha Peon

    Messages:
    115
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Looks like your "wrap" and "content" DIVs are not closed. Add two closing DIV tags just above the html comment that reads "the main column ends". That should fix it.
     
    mupha, Aug 10, 2008 IP
  5. Gaelian

    Gaelian Peon

    Messages:
    12
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    y0,

    i checked the code with firebug and there are 4 unclosed div tags:

    1. #body-container
    2. #wrap
    3. #content
    4 (div class).postpacker

    look in the wordpress files and try to close those tags.
     
    Gaelian, Aug 10, 2008 IP
  6. BANAGO

    BANAGO Active Member

    Messages:
    456
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    58
    #6
    There is missing a </div>. Figure it out where it is missing. Good luck!
     
    BANAGO, Aug 10, 2008 IP
  7. ninjacluster

    ninjacluster Peon

    Messages:
    132
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #7
    What I'd do is print out the source and use a pencil to go through and cross out the divs that are opening and closing each other... find the one that doesn't close. :)
     
    ninjacluster, Aug 10, 2008 IP
  8. Rebtl

    Rebtl Active Member

    Messages:
    248
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    55
    #8
    aright thanks for the tips guys, I'll see what I can do
     
    Rebtl, Aug 11, 2008 IP