Jump to content

color not filling left column


harkly

Recommended Posts

I have 2 columns both are sized dynamically and my left one will not fill in with color. Can someone help me do this?

 

#aboutLifestyle .left{
  width: 175px;
  float: left;
  background-color: #fffffd;
}

#navleft {
  width: 170px;
  float: left;
  height: 100%;
  background-color: #fffffd;
}


#navleft ul {
  padding: 0px;
  margin: 0px;
  background-color: #fffffd;
}

#navleft ul li {
  width: 160px;
  height:35px;
  line-height:25px; 
  list-style:none; 
  padding: 5px 0px 0px 15px;
  color:#4164AB;
  border-bottom: 1px solid #CFCDB7;
}

 

Full html includes style tags

 

<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'>
<html xmlns='http://www.w3.org/1999/xhtml'>
<head>

<link href="wforms-jsonly.css" type="text/css" rel="alternate stylesheet" title="this stylesheet is activated by javascript" />
<script type="text/javascript" src="wforms.js" ></script>
<style type="text/css">

body {
  background: #F1F1E3 url(img/topRedShaded.gif) repeat-x left top;
  font-size: 13px;
  font-family: Trebuchet MS, Helvetica;
  font-weight: lighter;
  margin: 0;
}


#wrapperLifestyle { 
  margin: 0px auto;
  width: 960px;
min-height: 100%;
height: auto !important;
height: 100%;
margin: 0 auto 75px;

}

#aboutLifestyle {
  width: 900px;


}

#aboutLifestyle .left{
  width: 175px;
  float: left;
  background-color: #fffffd;

}

#aboutLifestyle .right{
  width: 700px;
  float: right;
  padding-left: 23px;
  border-left: 1px solid #CFCDB7;
  background-color: #fffffd;
}


#content { 
  margin: 20px 0px 0px 0px;
  padding: 0px;
  width: 900px;
  float: left;
  border-left: 1px solid #CFCDB7;
  border-right: 1px solid #CFCDB7;
  border-top: 0px;
  border-bottom: 1px solid #CFCDB7;
}

/************************FOOTER**********************/

#footer {
  width: 100%;
  background: url(img/footer.gif) repeat-x;
  background-color: #E7E7CE;
  height: 75px;
  margin: 0 auto;
  font-family: Arial, Helvetica, sans-serif;
}


#footer p {
  margin: 0px;
  padding-top: 30px;
  line-height: normal;
  font-size: 9px;
  text-transform: uppercase;
  text-align: center;
  color: #333228;
}

#footer  a{
  line-height: normal;
  font-size: 9px;
  text-align: center;
  text-decoration: none;
  color: #333228;
}

#footer  a:hover  {
  color:#a69;
  font-size: 9px;
  text-decoration: underline;
}

#footer, .push {
  height: 75px;
  clear: both;
}

/*********vertical Navigation************/


#navleft {
  width: 170px;
  float: left;
  height: 100%;
  background-color: #fffffd;
}


#navleft ul {
  padding: 0px;
  margin: 0px;
  background-color: #fffffd;
}

#navleft ul li {
  width: 160px;
  height:35px;
  line-height:25px; 
  list-style:none; 
  padding: 5px 0px 0px 15px;
  color:#4164AB;
  border-bottom: 1px solid #CFCDB7;
} 

</style>


</head>

<body>

  <div id='wrapperLifestyle'>

    <div id='cleftLifestyle'></div>
    <div id='content'>
      <div id='box'><h2>Edit Profile</h2></div> 
      <div id='aboutLifestyle'>
        <span class='right'>
          <form method="post" id="wf_TestForm" action='mateinfo.html'>
            <div id='aboutForm'>

              <pre>
              #wrapperLifestyle { 
                margin: 0px auto;
                width: 960px;
              background-color: #333;
              }

              #aboutLifestyle {
                width: 900px;
                background-color: #fffffd;
              height: 300px;
              }

              #aboutLifestyle .left{
                width: 175px;
                float: left;
              }

              #aboutLifestyle .right{
                width: 700px;
                float: right;
                padding-left: 23px;
                border-left: 1px solid #CFCDB7;
              }
            </pre>


            </div> <! -- END aboutForm -->
          </form>
        </span> <! -- END right -->
    



        <span class='left'>
          <div id="navleft">
            <ul>
              <li class='current'><a href='aboutMe.html'>About Me</a></li>
              <li><a href='appearance.html'>Appearance</a></li>
              <li><a href='values.html'>Background/Values</a></li>
              <li><a href='interests.html'>Interests</a></li>
              <li><a href='relationships.html'>Relationships</a></li>
            <ul>
          </div>
        </span>



      </div> <! -- END aboutLifestyle -->
    </div> <!-- END content -->
  </div> <!-- END cleftLifestyle-->
</div> <!-- END wrapperLifestyle-->


</body></html>

Link to comment
https://forums.phpfreaks.com/topic/187589-color-not-filling-left-column/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.