[x]
Posted via EE Mobile

Search, ask, and monitor your questions on the go with EE Mobile. Visit Experts Exchange from your mobile device and never be out of touch again.

Question
[x]
Attachment Details
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

8.6

CSS layout issue

Asked by Craigster2006 in Cascading Style Sheets (CSS)

Tags: columns, layout, three

I have a CSS based layout.
heres the code.

<!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>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" type="text/css" href="layout.css" />
<title>CSS layout: Bordered 3 col fixed width with header and footer</title>
<style type="text/css">
div
{
      border: 1px solid black;
}

div#header
{
      width: 700px;
}

div.content-sub
{
      float: left;
      min-height: 100%;
}

div#content-sub-1
{
      width: 198px;
}

div#content-sub-2
{
      width: 300px;
}

div#content-sub-3
{
      width: 198px;
      clear:right;
      height: 100%;
}

div#footer
{
      clear:both;
      width: 700px;
}
#wrapper{
      width:702px;
      border:1px solid green;
      }
.spacer {
      border:0px;
      height:0px;
      clear:both;
      width:0px;
      }
</style>
</head>
<body>

<div id="header">
      <h1>header</h1>
</div>
<div id="wrapper">
<div class="content-sub" id="content-sub-1">
      <h2>content-1</h2>

      <p>The all three columns should be surrounded by a border, like in this </p>
      <p>&nbsp;</p>
      <p>&nbsp;</p>
      <p>&nbsp;</p>
      <p>&nbsp;</p>
      <p>&nbsp;</p>
</div>
<div class="content-sub" id="content-sub-2">
      <h2>content-2</h2>
      <p>See the </p>
</div>
<div class="content-sub" id="content-sub-3">

      <h2>content-3</h2>
            <p>The all three columns should be </p>
                  <p>The all three columns should be surrounded by a border, like </p>
</div>
<div class="spacer"></div>
</div>
<div id="footer">
      <h2>footer</h2>
      <p>It is important that all three columns, not only the center one, pushes the footer down.</p>
</div>
</body>
</html>

Now the problem is i need column 2 and three to stay the same height as each other no matter what the content in either is.
so if column two has more content column three must be the same height.

Basically columns 2 and three have to be glued to the footer.

Any suggestions!
Thanks in advance.
[+][-]04/25/06 01:57 PM, ID: 16538513Accepted Solution

View this solution now by starting your 30-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

About this solution

Zone: Cascading Style Sheets (CSS)
Tags: columns, layout, three
Sign Up Now!
Solution Provided By: ljo8877
Participating Experts: 1
Solution Grade: A
 
[+][-]06/12/06 07:17 AM, ID: 16885756Administrative Comment

Experts Exchange has a courteous staff of administrators who help members get the most out of the website by means of administrative comments like this one.

Start your 30-day free trial to view this Administrative Comment or ask the Experts your question.

 
[+][-]06/16/06 01:27 AM, ID: 16918496Administrative Comment

Experts Exchange has a courteous staff of administrators who help members get the most out of the website by means of administrative comments like this one.

Start your 30-day free trial to view this Administrative Comment or ask the Experts your question.

 
 
Loading Advertisement...
20091118-EE-VQP-93