Advertisement

01.16.2008 at 08:38AM PST, ID: 23087516
[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.4

Unordered List Spacing problem using CSS between IE and FireFox

Asked by dyarosh in Cascading Style Sheets (CSS)

Tags:

I have a problem very similar to this one posted in EE: http://www.experts-exchange.com/Web_Development/Web_Languages-Standards/CSS/Q_21898314.html?sfQueryTermInfo=1+between+css+how+item+list+reduc+space+unord+us

However, the solution there did not help me.  So here is my problem.

I'm using an unordered list to display menu items.  The menu items are actually graphics and not text.  I have calculated the height of my content based on how high each graphic is.  Each graphic has a small amount of space to provide separation between graphics.  The total height of all my graphics is 602 pixels.  Because of the extra space between the graphics I need to recalculate the height of my content and don't know where the extra space is coming from.  You can see what I'm talking about by going to http://development.sunmedcom.com/BRAIN/DEMO/test.html.  If you open this page in FireFox and IE you will see what I mean.  In FireFox the spacing is what I am expecting but in but in IE there is more spacing.  This example is not using unordered lists.  The next example, http://development.sunmedcom.com/BRAIN/Demo has the graphics in two different DIV tags both defined to be 118px wide.  In IE, both display with the extra space but in FireFox, the unordered list shows with extra space and the one without using unordered lists shows up the way I intended.  

I have been playing around with this for hours and can't seem to get what I want.  If someone can help me get rid of the extra space or tell me how to calculate the total height with the extra space, I would appreciate it.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:
TEST.HTML
===========
...
<div id="menu">
<img name="imgname1" src="img/imgname1" border="0" alt="">
<img name="imgname2" src="img/imgname2" border="0" alt="">
...
<img name="imgname19" src="img/imgname19" boder="0" alt="">
</div>
 
INDEX.HTML
============
...
<div id=containter">
<div id="menu">
<ul class="menu-list">
<li><img name="imgname1" src="img/imgname1" border="0" alt=""></li>
<li><img name="imgname2" src="img/imgname2" border="0" alt=""></li>
...
<li><img name="imgname19" src="img/imgname19" border="0" alt=""></li>
</ul>
</div>
</div>
 
CSS
=====
* {  // This is at the top of my CSS file
   margin:0;
}
body {
   font-family:Arial, Helvetica, sans-serif;
   background-color:#dad9ad;
}
#container {
   width:810px;
   height:602px;
   text-align:left;
   border-right-color:#FFFFF;
   margin:5px;
}
#menu {
   width:118px;
   height:inherit;
}
ul.menu-list {
   padding: 0px;
   margin: 0px;
}
.menu-list li{
   margin: 0px;
   padding: 0px;
   list-style-type:none;
   text-align:left;
   vertical-align:text-top;
   border:0px;
   display:block;
}
 
Loading Advertisement...
 
[+][-]01.16.2008 at 07:37PM PST, ID: 20678475

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

 
[+][-]01.17.2008 at 07:27AM PST, ID: 20682168

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

 
[+][-]01.17.2008 at 07:39AM PST, ID: 20682297

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

 
[+][-]01.17.2008 at 07:45AM PST, ID: 20682361

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

 
[+][-]01.17.2008 at 07:55AM PST, ID: 20682450

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

 
[+][-]01.17.2008 at 07:56AM PST, ID: 20682459

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

 
[+][-]01.17.2008 at 07:58AM PST, ID: 20682475

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

 
[+][-]01.17.2008 at 08:30AM PST, ID: 20682815

View this solution now by starting your 14-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: CSS
Sign Up Now!
Solution Provided By: pmagony
Participating Experts: 1
Solution Grade: A
 
 
 
Loading Advertisement...
20081112-EE-VQP-43 / EE_QW_2_20070628