Web Analytics Made Easy -
StatCounter Content on only some pages dropping in ie - CodingForum

Announcement

Collapse
No announcement yet.

Content on only some pages dropping in ie

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Content on only some pages dropping in ie

    I'm quite befuddled

    the site is here

    this is the code for one of the pages that's dropping under the left menu

    Code:
    <?php $page_title='Board Members'; ?>
    <!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" xml:lang="eng">
    <head>
    <title>Suncoast USBC Bowling Association - <?php echo $page_title; ?></title>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
    <link href="css/susbcba-style.css" rel="stylesheet" type="text/css" />
    <link rel="shortcut icon" href="/favicon.ico" />
    </head>
    <body><div id="main-wrap">
    <div id="header"></div>
    <h1>Suncoast USBC Bowling Association proudly serves<br />Upper Pinellas and Western Pasco Counties</h1>
    <div id="content-wrap">
    <div id="menu-container"><div id="menu-top"></div><div id="menu-body">
    <?php include("includes/menu.htm");?></div><div id="menu-bottom"></div></div>
    <div id="right-menu-container"><div id="right-menu-top"></div><div id="right-menu-body"><?php include("includes/right-menu.htm");?>
    </div><div id="right-menu-bottom"></div></div>
    <div id="content-container">
    <div id="content-top"></div>
    <div id="content-body">
            <h2><?php echo $page_title; ?></h2>
            <p>Each position within the Suncoast USBC Bowling Association is elected 
              to a term of 2 years. Terms are staggered by odd and even years. For the purposes of the first election, officers 
              were elected to both one and two-year terms. Elections will be held 
              again in 2007 to elect the current one-year term officers to a full 
              two-year term.</p>
            <p>Below are the Association Officials:</p>
    <div id="boardlistcontainer">
    <?php require_once("functionlist.php");?>
    <h3>President</h3>
    <?php
    $conn = doconnect();
     $query = "SELECT BoardMemberName, BoardMemberTerm, DATE_FORMAT(BoardMemberElection, '%c/%e/%y') AS BoardMemberElection FROM board WHERE BoardMemberTitle='President'";
    	   $result = mysql_query($query);
       echo "<table><tr><th>Name</th><th style=\"text-align:center;\">Term Length</th><th style=\"text-align:center;\">Re-Election</th></tr>";
    while($row = mysql_fetch_assoc($result))
    {
    	echo
    		"<tr><td style=\"width:130px;\">" . $row['BoardMemberName'] . "</td><td style=\"text-align:center;width:106px;\">" . $row['BoardMemberTerm'] . "-year</td><td style=\"text-align:center;width:99px;\">" . $row['BoardMemberElection'] . "</td></tr>";
     }
    echo "</table>";
    mysql_free_result($result);
    ?>
              <br />
              <h3>Delegate</h3>
    <?php
    $conn = doconnect();
     $query = "SELECT BoardMemberName, BoardMemberTerm, DATE_FORMAT(BoardMemberElection, '%c/%e/%y') AS BoardMemberElection FROM board WHERE BoardMemberTitle='Delegate'";
    	   $result = mysql_query($query);
       echo "<table><tr><th>Name</th><th style=\"text-align:center;\">Term Length</th><th style=\"text-align:center;\">Re-Election</th></tr>";
    while($row = mysql_fetch_assoc($result))
    {
    	echo
    		"<tr><td style=\"width:130px;\">" . $row['BoardMemberName'] . "</td><td style=\"text-align:center;width:106px;\">" . $row['BoardMemberTerm'] . "-year</td><td style=\"text-align:center;width:99px;\">" . $row['BoardMemberElection'] . "</td></tr>";
     }
    echo "</table>";
    mysql_free_result($result);
    ?>
              <br />
    <h3>Vice Presidents</h3>
    <?php
    $conn = doconnect();
     $query = "SELECT BoardMemberName, BoardMemberTerm, DATE_FORMAT(BoardMemberElection, '%c/%e/%y') AS BoardMemberElection FROM board WHERE BoardMemberTitle like '%Vice President'";
    	   $result = mysql_query($query);
       echo "<table><tr><th>Name</th><th style=\"text-align:center;\">Term Length</th><th style=\"text-align:center;\">Re-Election</th></tr>";
    while($row = mysql_fetch_assoc($result))
    {
    	echo
    		"<tr><td style=\"width:130px;\">" . $row['BoardMemberName'] . "</td><td style=\"text-align:center;width:106px;\">" . $row['BoardMemberTerm'] . "-year</td><td style=\"text-align:center;width:99px;\">" . $row['BoardMemberElection'] . "</td></tr>";
     }
    echo "</table>";
    mysql_free_result($result);
    ?>
              <br />
    <h3>Directors</h3>
    <?php
    $conn = doconnect();
     $query = "SELECT BoardMemberName, BoardMemberTerm, DATE_FORMAT(BoardMemberElection, '%c/%e/%y') AS BoardMemberElection FROM board WHERE BoardMemberTitle='Director' ORDER BY 'BoardMemberElection'";
    	   $result = mysql_query($query);
       echo "<table><tr><th>Name</th><th style=\"text-align:center;\">Term Length</th><th style=\"text-align:center;\">Re-Election</th></tr>";
    while($row = mysql_fetch_assoc($result))
    {
    	echo
    		"<tr><td style=\"width:130px;\">" . $row['BoardMemberName'] . "</td><td style=\"text-align:center;width:106px;\">" . $row['BoardMemberTerm'] . "-year</td><td style=\"text-align:center;width:99px;\">" . $row['BoardMemberElection'] . "</td></tr>";
     }
    echo "</table>";
    mysql_free_result($result);
    ?>
              <br />
              <h3>Sergeant At Arms</h3>
    <?php
    $conn = doconnect();
     $query = "SELECT BoardMemberName, BoardMemberTerm, DATE_FORMAT(BoardMemberElection, '%c/%e/%y') AS BoardMemberElection FROM board WHERE BoardMemberTitle='Sargeant At Arms'";
    	   $result = mysql_query($query);
       echo "<table><tr><th>Name</th><th style=\"text-align:center;\">Term Length</th><th style=\"text-align:center;\">Re-Election</th></tr>";
    while($row = mysql_fetch_assoc($result))
    {
    	echo
    		"<tr><td style=\"width:130px;\">" . $row['BoardMemberName'] . "</td><td style=\"text-align:center;width:106px;\">" . $row['BoardMemberTerm'] . "-year</td><td style=\"text-align:center;width:99px;\">" . $row['BoardMemberElection'] . "</td></tr>";
     }
    echo "</table>";
    mysql_free_result($result);
    ?>
              <br />
    </div>
    
          </div>
          <div id="content-bottom"></div></div></div>
    <div class="clear"></div>
    <div id="footer"><?php include("includes/footer.htm");?></div>
    </div></body>
    </html>
    I've run all of the pages in the site through the validator and they all validate for transitional and css

    home, president's letter, and bowling centers display just fine in ie and ff and opera

    any help is greatly appreciated

  • #2
    Your #boardlistcontainer and h3s are too wide. Add a background color to #content-container and you will notice this.
    ||||If you are getting paid to do a job, don't ask for help on it!||||

    Comment


    • #3
      I'm so embarrassed ...thanks aero

      Comment

      Working...
      X