WordPress.org

Ready to get started?Download WordPress

Forums

Trouble centering box on page (6 posts)

  1. sharpkp
    Member
    Posted 2 years ago #

    I must have changed one small thing and I have no idea what I did... I'm trying to center the box in the middle of my webpage but I can't get it to work for the life of me. (www.designmeasurechange.com) Any suggestions on what I've done wrong here?

  2. egado
    Member
    Posted 2 years ago #

    hmmm there is a </div> to much.

    Try to search for something like this markup in your header.php

    </div> <div id="container">
    <div class="content_top"></div>
    <div class="content_center">

    and remove the </div> before <div id="container"> and than have a try if it works for you :)

  3. sharpkp
    Member
    Posted 2 years ago #

    Really appreciate the help with this... I don't have anything like this under header.php but I do have something similar in index.php and single.php. Both of them read the following
    <body>
    <div id="wrapper">
    <?php include (TEMPLATEPATH . "/banner.php"); ?>
    <div id="container">
    <div class="content_top"></div>
    <div class="content_center">
    I don't see any extra </div> included... Any ideas?

  4. egado
    Member
    Posted 2 years ago #

    The extra </div> seems to be in your banner.php :/

  5. sharpkp
    Member
    Posted 2 years ago #

    yes! yes! yes! You are a genius!! Thank you sooooo much!! I'm very impressed....

  6. egado
    Member
    Posted 2 years ago #

    Your welcome :)

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags