Advertisement

06.05.2008 at 03:41PM PDT, ID: 23462163
[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!

9.7

Footer appears within content area in IE7

Asked by ascendinternet in Cascading Style Sheets (CSS), Hypertext Markup Language (HTML), Web Development

Tags:

I have a 3 column + header and footer layout which works fine in IE6 and Firefox 2, but in IE7 the footer appears immediately below the content (center column) even though the menu column (left column) is longer.Start Free Trial
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:
90:
91:
92:
93:
94:
95:
96:
97:
98:
99:
100:
101:
102:
103:
104:
105:
106:
107:
108:
109:
110:
111:
112:
113:
114:
115:
116:
117:
118:
119:
120:
121:
122:
123:
124:
125:
126:
127:
128:
129:
130:
131:
132:
133:
134:
135:
136:
137:
138:
139:
140:
141:
142:
143:
144:
145:
146:
147:
148:
149:
150:
151:
152:
153:
154:
155:
156:
157:
158:
159:
160:
161:
162:
163:
164:
165:
166:
167:
168:
169:
170:
171:
172:
173:
174:
175:
176:
177:
178:
179:
180:
181:
182:
183:
184:
185:
186:
187:
188:
189:
190:
191:
192:
193:
194:
195:
196:
197:
198:
<!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">
<head>
<meta http-equiv="content-type" content="application/xhtml+xml; charset=iso-8859-1" />
<title>Contact Us</title>
<link href="/css/layout.css" rel="stylesheet" type="text/css" media="all" />
<link href="/css/stylesheet.css" rel="stylesheet" type="text/css" media="all" />
<link href="/css/menu.css" rel="stylesheet" type="text/css" media="all" />
 
<!--[if lt IE 7]>
<style type="text/css" media="screen">
#wrapper {word-wrap: break-word;} /* ie proprietary property to force long words to break rather than the layout */
</style>
<![endif]-->
 
</head>
 
<body>
<div id="wrapper">
 
	<div id="header">
		<div id="headerimg">
			<img src='/images/dsclogo.jpg' border='0' />
		</div>
	</div>
 
	<div id="contentfloatholder">
 
		<div id="centerwrap">
			<div id="center">
			<a href="/home.aspx">Home</a> : 
<b>Contact Us</b>
			<h1>Contact Us</h1>
			
 
			</div>
		</div>
 
		<div id="right">
			<div id="SecondaryContent">
				
			</div>
		</div>
 
		<div id="left">
			<div class="menu">
				<ul><li><a href="/default.aspx" title="home">Home</a></li><li class="sub"><a href="/about-dsc.aspx">About DSC<!--[if IE 7]><!--></a><!--<![endif]--><!--[if lte IE 6]>
            <table><tr><td>
            <![endif]--><ul><li><a href="/about-dsc/joining.aspx">Joining</a></li><li><a href="/about-dsc/fees.aspx">Fees</a></li></ul><!--[if lte IE 6]>
            </td></tr></table></a>
            <![endif]--></li><li class="sub"><a href="/noticeboards.aspx">Noticeboards<!--[if IE 7]><!--></a><!--<![endif]--><!--[if lte IE 6]>
            <table><tr><td>
            <![endif]--><ul><li><a href="/noticeboards/news.aspx">News</a></li><li><a href="/noticeboards/coaches.aspx">Coaches</a></li></ul><!--[if lte IE 6]>
            </td></tr></table></a>
            <![endif]--></li><li class="sub"><a href="/squads-and-coaching.aspx">Squads and Coaching<!--[if IE 7]><!--></a><!--<![endif]--><!--[if lte IE 6]>
            <table><tr><td>
            <![endif]--><ul><li><a href="/squads-and-coaching/squad-system.aspx">Squad System</a></li></ul><!--[if lte IE 6]>
            </td></tr></table></a>
            <![endif]--></li><li><a href="/masters.aspx">Masters</a></li><li><a href="/biathlon.aspx">Biathlon</a></li><li><a href="/swim-calendar.aspx">Swim Calendar</a></li><li><a href="/volunteers.aspx">Volunteers</a></li><li><a href="/contact-us.aspx">Contact Us</a></li><li><a href="/links.aspx">Links</a></li><li><a href="/downloads.aspx">Downloads</a></li><li><a href="/dsc-open.aspx">DSC Open</a></li><li><a href="/galas-and-competitions.aspx">Galas and Competitions</a></li><li><a href="/200-club.aspx">200 Club</a></li><li><a href="/pools.aspx">Pools</a></li></ul>	
			</div>
		</div>
 
	</div>
 
	<div id="footer">
		<p>
			copyright, etc, here
		</p>
	</div>
</div>
 
</body>
</html>
 
 
The layout.css file is
 
/*
* {margin: 0; padding: 0; border: 0;}
*/
 
body {
	margin: 0; padding: 0; border: 0;
	background: white;
	min-width: 700px;
	font-family: verdana, arial, sans-serif;
	font-size: 76%;
}
html>body {
	width: auto;
	min-width: 700px;
} 
 
/* wrapper holds left faux column tab */
/* nn6/7 will put content out of scrollable reach if auto is used unless the min-width is on body */
#wrapper { 
	text-align: left;
	width: 100%;
	margin: 0 auto; 
	background: white;
	min-width: 700px;
	/* min-width fix for IE */
	width:expression(document.body.clientWidth < 705 ? "700px": "100%" );
}
 
#header, #subnav, #footer {
	clear: both; 
	width: 100%;
}
 
#header {
	background: #fff;
	/*padding: 10px 10px 10px 10px;*/
	padding: 0px;
	border-bottom: 5px solid #3882CB;
	overflow:hidden;
	display: block;
}
#headerimg {
	white-space: nowrap;
	overflow:hidden;
	display:table-cell; /* nn6 Opera 6*/
}
#headerimg img {
	/*padding: 0 20px 0 10px;*/
	padding: 0 0 0 175px;
	float: left;
}
 
#footer {
	background: #fff;
	padding: 0px;
	border-top: 1px solid #000D60;
	overflow:hidden;
	display: block;
}
 
#footer p {
	color: silver;
	text-align: center;
}
 
 
#subnav {
	background: #ccc; 
	padding: 1px 0;
}
 
 
#contentfloatholder {
	/* right faux column tab */
	float: left;
	width: 100%;
}
 
 
#contentfloatholder:after {
/* this is for NN6 to clear floats */
	content: "."; 
	display: block; 
	height: 0px;
	clear: both; 
	visibility: hidden;
}
 
#center {
/*	margin: 0 175px 0 175px;*/
	margin: 10px 165px 0 175px;
}
 
#centerwrap {
	float:left;
	width: 100%; 
/*	margin: 0 -95% 0 0; */
	margin: 0 -100% 0 0;
}
 
#left {
	float:left;
	width: 150px;
	/*margin: 0 0 0 -5%;*/
	margin: 0;
}
 
#right {
	float:right;
	width: 155px;
	margin: 0;
}
 
/* this is the class that is applied to 2 structural hacks in the markup. The first "meaningless" element is used to clear #left in NN6 and the last one is used to clear #container in NN4 */
.clearing {clear:both;}
 
 
/************* IE Mac CSS Only  works for Win too **************/
* html div#centerwrap {margin: 0 -100% 0 0;}
* html div#left {margin: 0;}
[+][-]06.05.2008 at 04:25PM PDT, ID: 21724889

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 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]06.05.2008 at 05:11PM PDT, ID: 21725137

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 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]06.05.2008 at 05:33PM PDT, ID: 21725247

View this solution now by starting your 7-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), Hypertext Markup Language (HTML), Web Development
Tags: html css
Sign Up Now!
Solution Provided By: Kravimir
Participating Experts: 1
Solution Grade: A
 
 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628