Advertisement

09.20.2008 at 08:37AM PDT, ID: 23748338
[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.3

CSS Design for List with different result in Firefox and IE

Asked by TKD in Cascading Style Sheets (CSS)

Tags:

Hi,
I use the following ofdance.css to design web site. But when I design the navigation menu, and find that the result in Firefox 2.0 is unexpected.  Why the background of navigation menu isn't be white? The result in IE 6.0 is expected. Could someone tell me how to modify the css? Thank you.

@charset "utf-8";

body, div, ul, li, h1, h2, h3, h4, h5, h6, pre, form, table, th, td, img { margin:0, padding:0, border:0;}
*{font-size:12px;line-height:1.4em; font-family: 'lucida grande', Geneva, Arial, Verdana, Tahoma, sans-seri;}

body
{
      margin:0;
      padding:0;
      background:#eceae1;
}

img {
vertical-align:bottom
}

#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;}
#navigation ul { float:left; margin:0; padding: 10px 10px 0 50px; list-style:none; }
#navigation li { float:left; margin:0; padding: 0px; }

#foot { width:100%; margin-bottom:35px; text-align:center; position:relative; background-color:#fff;}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:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html >
<head>
<meta http-equiv="Content-Type" content="text/html; charset=big5"/>
<META http-equiv="Cache-Control" content="no-cache"/> 
<META http-equiv="Pragma" content="no-cache"/>
<META http-equiv="Expires" content="-1"/>
<meta name="Author" content="Liang Yu Wei"/>
<link rel="stylesheet" href="css/ofdance.css" type="text/css" media="all"/>
<title>Test</title>
</head>
 
<body>
<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 id="navigation">
			<ul>
				<li>News</li>
				<li>Location</li>
				<li>Fee</li>
			</ul>
		</div>
	</div>
	
	<div id="foot">
	</div>
</div>
</body>
 
</html>
Attachments:
 
List without background in Firefox
List without background in Firefox
 
 
Expected result in IE 6.0
Expected result in IE 6.0
 
[+][-]09.20.2008 at 10:34AM PDT, ID: 22530740

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

Zone: Cascading Style Sheets (CSS)
Tags: Firefox 2.0 / IE 6.0
Sign Up Now!
Solution Provided By: MacAnthony
Participating Experts: 1
Solution Grade: A
 
 
[+][-]09.20.2008 at 10:36AM PDT, ID: 22530752

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.

 
 
Loading Advertisement...
20081112-EE-VQP-42 / EE_QW_2_20070628