[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

xhtml divs and page height

Asked by ncw in Cascading Style Sheets (CSS), Extensible HTML (XHTML)

Tags: div, page height, xhtml

Div's are hopeless compared with tables when it comes to fixing a page layout! It's a nightmare trying to get div's nested inside outer div's. I've got a main content div which has a white background, and I've set it's height so that the content on the homepage all appears in the white area. But for other pages if the content is more then it goes below and outside the white area, which suggests that the content on the homepage is not actually nested within the maincontent div; I want the content to expand the height of the maincontent div.

The html is below and the css is attached.

Can anyone advise please?

 
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
25:
26:
27:
28:
29:
30:
31:
32:
33:
34:
35:
36:
37:
38:
39:
40:
41:
42:
43:
44:
45:
46:
47:
48:
49:
50:
51:
52:
53:
54:
55:
56:
57:
58:
59:
60:
61:
62:
63:
64:
65:
66:
67:
68:
69:
70:
71:
72:
73:
74:
75:
76:
77:
78:
79:
80:
81:
82:
83:
84:
85:
86:
87:
88:
89:
<!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" dir="ltr" lang="en">
<head>
<meta name="robots" content="index, follow" />
<title>Some Title</title>
<meta name="Description" content="some description" />
<meta name="Keywords" content="some,key,words" />
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<link rel="stylesheet" type="text/css" href="css/stylesheet.css" />
</head>
<body>
  <div id="container">
    <div id="header">
      <ul class="tab">
	<li class="active"><a href="index.php"><span>Home</span></a></li>
	<li><a href="about.php"><span>About</span></a></li>
	<li><a href="coffee.php"><span>Coffee</span></a></li>
	<li><a href="tea.php"><span>Tea</span></a></li>
	<li><a href="coffee-machines.php"><span>Machines</span></a></li>
	<li><a href="other-coffee-products.php"><span>Other</span></a></li>
	<li><a href="coffee-product-list.php"><span>Product List</span></a></li>
	<li><a href="contact.php"><span>Contact</span></a></li>
      </ul>
    </div>
    <div id="mainContent">
<div id="leftColumn">
	<p class="intro">Welcome to ...</p>
 
	<div class="beans">
	  <img class="beans" src="images/coffee-beans.jpg" width="160" height="160" alt="Coffee Beans" title="Coffee Beans" />
	</div>
 
	<div class="quotes">
	  <p>some quote</p>
	  <p>some quote</p>
	</div>
 
 
	<p>some text.</p>
	<p>some text</p>
 
    <div class="features">
	<ul>
	  <li>feature1</li>
	  <li>feature2</li>
	</ul>
    </div>
 
    <div class="fairtrade">
      <img src="images/fairtrade.jpg" width="172" height="100" alt="Fair Trade" title="Fair Trade" />
    </div>
    <p class="clear"></p>
</div>
 
<div id="rightColumn">
  <img src="images/smartcar.jpg" alt="" title="">
  <div class="boxTop"></div>
  <div class="testimonials">
    <h2>What our customers say:</h2>
    <p>some quote</p>
    <p>some quote</p>
  </div>
  <div class="boxBottom"></div>
</div>
 
    </div>
	<div id="footer">
	  <div class="footerlinks">
		  <a href="coffee-beans.html" title="Coffee Beans">Coffee Beans</a>&nbsp;&nbsp;|&nbsp;&nbsp;
		  <a href="ground-coffee.html" title="Ground Coffee">Ground Coffee</a>&nbsp;&nbsp;|&nbsp;&nbsp;
		  <a href="tea-bags.html" title="Tea Bags">Tea Bags</a>&nbsp;&nbsp;|&nbsp;&nbsp;
		  <a href="coffee-machines.html" title="Coffee Machines">Coffee Machines</a>&nbsp;&nbsp;|&nbsp;&nbsp;
		  <a href="coffee-product-list.html" title="Coffee Product List">Product List</a>&nbsp;&nbsp;|&nbsp;&nbsp;
		  <a href="about.html" title="About">About</a>&nbsp;&nbsp;|&nbsp;&nbsp;
		  <a href="contact.html" title="Contact">Contact</a>&nbsp;&nbsp;|&nbsp;&nbsp;
		  <a href="privacy-policy.html" title="Privacy Policy">Privacy Policy</a>&nbsp;&nbsp;|&nbsp;&nbsp;
		  <a href="site-map.html" title="Site Map">Site Map</a>
	  </div>
	  <div class="contactdetails">
		Some address
	  </div>
	  <div class="contactdetails">
		t: 123456789 &nbsp;&nbsp;&nbsp; e: someone@domain.com
	  </div>
	</div>
  </div>
</body>
</html>
Attachments:
 
stylesheet.css
 
[+][-]10/27/09 11:35 AM, ID: 25675825Accepted 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

Zones: Cascading Style Sheets (CSS), Extensible HTML (XHTML)
Tags: div, page height, xhtml
Sign Up Now!
Solution Provided By: renazonse
Participating Experts: 3
Solution Grade: A
 
[+][-]10/27/09 07:47 AM, ID: 25672973Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

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

 
[+][-]10/27/09 07:56 AM, ID: 25673089Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

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

 
[+][-]10/27/09 08:00 AM, ID: 25673146Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

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

 
[+][-]10/27/09 08:04 AM, ID: 25673197Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

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

 
[+][-]10/27/09 08:24 AM, ID: 25673427Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

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

 
[+][-]10/27/09 08:49 AM, ID: 25673796Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

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

 
[+][-]10/27/09 09:16 AM, ID: 25674209Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

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

 
[+][-]10/27/09 09:31 AM, ID: 25674401Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

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

 
[+][-]10/27/09 09:49 AM, ID: 25674618Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

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

 
[+][-]10/27/09 09:55 AM, ID: 25674698Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

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

 
[+][-]10/27/09 12:39 PM, ID: 25676513Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

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

 
[+][-]10/27/09 01:11 PM, ID: 25676891Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

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

 
 
Loading Advertisement...
20091118-EE-VQP-93 - Hierarchy / EE_QW_3_20080625