[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.8

CSS Div Layout is unexpected in IE

Asked by TKD in Cascading Style Sheets (CSS), Firefox Web Browser, Internet Explorer Web Browser

Tags: Firefox 2.0 / IE 6.0

Hi,
I use CSS to set the layout. I would like to let the layout in the center in browser. The expected layout is appear in Firefox 2.0. But I don't why the result is in IE 6.0 is different than Firefox 2.0. The result is in the left of the browser and it has extra space. Could someone tell me how to modify the css? Thank you.

<div id="content">
      <div id ="head_content">
            <div id="head_title">
                  <div id="head_left">
                  </div>
                  
                  <div id="head_right">
                  </div>
            </div>
            
            <div id="head_img">
                  <img src="image/test.JPG">
            </div>
      </div>
      
      <div id="main_content">
      </div>
      
      <div id="foot">
      </div>
</div>
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
body, div, ul, li, h1, h2, h3, h4, h5, h6, pre, form, table, th, td, img { margin:0, padding:0, border:0;}
 
body 
{
	margin:0; 
	padding:0;
	background:#eceae1;
}
 
#content 
{
	margin:0px auto 0 auto;
	width:950px;
	position:relative;
}
 
#head_content { width:950px; margin:0px auto 0px auto; position:relative;}
	#head_title { height:80px; background-color:#333; border: solid 10px #fff; border-bottom:0; overflow:hidden;}
		#head_left { flot:left; text-align:left; height:80px; width:185px; overflow:hidden; background:#333; border-right:solid 3px #fff;}
		#head_right{ float:right; height:80px; background:#ccc; overflow:hidden;}
	#head_img { border-top: solid 4px #fff; border-left: solid 10px #fff; border-right: solid 10px #fff; border-bottom:0;}
 
#main_content{border-top: solid 6px #fff;border-left: solid 10px #fff;border-right: solid 10px #fff; border-bottom: solid 10px #fff; width:930px;background:#fff;}
#foot { width:100%; margin-bottom:35px; text-align:center; position:relative; background-color:#fff;}
Attachments:
 
Layout in IE6.0
Layout in IE6.0
 
 
Layout in Firefox 2.0
Layout in Firefox 2.0
 
[+][-]09/20/08 08:46 AM, ID: 22530182Accepted 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), Firefox Web Browser, Internet Explorer Web Browser
Tags: Firefox 2.0 / IE 6.0
Sign Up Now!
Solution Provided By: Steggs
Participating Experts: 2
Solution Grade: A
 
[+][-]09/20/08 06:21 AM, ID: 22529540Expert 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.

 
[+][-]09/20/08 06:41 AM, ID: 22529604Author 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.

 
[+][-]09/20/08 06:44 AM, ID: 22529608Expert 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.

 
[+][-]09/20/08 06:56 AM, ID: 22529650Author 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.

 
[+][-]09/20/08 07:11 AM, ID: 22529691Author 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.

 
[+][-]09/20/08 07:52 AM, ID: 22529843Expert 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.

 
[+][-]09/20/08 08:21 AM, ID: 22530052Author 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.

 
 
Loading Advertisement...
20091111-EE-VQP-92 / EE_QW_2_20070628