Advertisement

03.12.2008 at 02:27PM PDT, ID: 23236814
[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!

7.6

Overflow-y Scrollbar within floated columns (works in FF, not in IE6)

Asked by Argblat in Cascading Style Sheets (CSS)

Tags: ,

I'm wondering if someone would be willing to take the time to check the following code snippet in FF 2.0 vs. IE6 and help me to improve the code to work correctly in IE6

As an overview of the problem ... in IE6 the vertical scrollbar moves outside the parent container because a table within the parent is set to width 100% ...

Translation: It's 1000x easier to _see_ this problem than it is to describe it ... if you make an html file from my code snippet and compare its rendering in IE6 vs. FF 2.0 you will see _exactly_ what it is I'm dealing with

Thanks in advance to anyone nice enough to take a crack and it and offer solutions / tips / links

-MikeStart 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:
199:
200:
201:
202:
203:
204:
205:
206:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>Overflow Test</title>
    <style type="text/css">
    	body { font-family: Arial, Helvetica, sans-serif; font-size: 9pt; }
		
		table { width: 100%; border-collapse: collapse; }
		table th { text-align: left; background-color: #ccc; }
		table th,
		table td { padding: 5px; }
		
		.clear { clear: both; }
		
		
		.two_col { }
			.two_col .col1 { float: left; width: 356px; margin-right: 8px; }
			.two_col .col2 { float: left; width: 356px; }		
		
		.module {  }	
			.module .header { background-color: #3988c0; color: #fff; padding: 5px; }
				.module .header .left { float: left; }
				.module .header .right { float: right; }
				
			.module .content { height: 100px; overflow-y: auto; }
    </style>
</head>
 
<body>
	
    <div class="two_col">
    	<div class="col1">
 
            <div class="module">
                <div class="header">
                    <div class="left">Header</div>
                    <div class="right">[ x ]</div>
                    <div class="clear"></div>
                </div>
                <div class="content">
                    <table>
                        <tr>
                            <th>Column 1</th>
                            <th>Column 2</th>
                            <th>Column 3</th>
                            <th>Column 4</th>
                        </tr>
                        <tr>
                            <td>one.one</td>
                            <td>one.two</td>
                            <td>one.three</td>
                            <td>one.four</td>
                        </tr>
                        <tr>
                            <td>two.one</td>
                            <td>two.two</td>
                            <td>two.three</td>
                            <td>two.four</td>
                        </tr>
                        <tr>
                            <td>three.one</td>
                            <td>three.two</td>
                            <td>three.three</td>
                            <td>three.four</td>
                        </tr>
                        <tr>
                            <td>four.one</td>
                            <td>four.two</td>
                            <td>four.three</td>
                            <td>four.four</td>
                        </tr>
                        <tr>
                            <td>five.one</td>
                            <td>five.two</td>
                            <td>five.three</td>
                            <td>five.four</td>
                        </tr>
                        <tr>
                            <td>six.one</td>
                            <td>six.two</td>
                            <td>six.three</td>
                            <td>six.four</td>
                        </tr>
                        <tr>
                            <td>seven.one</td>
                            <td>seven.two</td>
                            <td>seven.three</td>
                            <td>seven.four</td>
                        </tr>
                        <tr>
                            <td>eight.one</td>
                            <td>eight.two</td>
                            <td>eight.three</td>
                            <td>eight.four</td>
                        </tr>
                        <tr>
                            <td>nine.one</td>
                            <td>nine.two</td>
                            <td>nine.three</td>
                            <td>nine.four</td>
                        </tr>
                        <tr>
                            <td>ten.one</td>
                            <td>ten.two</td>
                            <td>ten.three</td>
                            <td>ten.four</td>
                        </tr>
                    </table>
                </div>
            </div>
 
        </div>
        
        <div class="col2">
 
            <div class="module">
                <div class="header">
                    <div class="left">Header</div>
                    <div class="right">[ x ]</div>
                    <div class="clear"></div>
                </div>
                <div class="content">
                    <table>
                        <tr>
                            <th>Column 1</th>
                            <th>Column 2</th>
                            <th>Column 3</th>
                            <th>Column 4</th>
                        </tr>
                        <tr>
                            <td>one.one</td>
                            <td>one.two</td>
                            <td>one.three</td>
                            <td>one.four</td>
                        </tr>
                        <tr>
                            <td>two.one</td>
                            <td>two.two</td>
                            <td>two.three</td>
                            <td>two.four</td>
                        </tr>
                        <tr>
                            <td>three.one</td>
                            <td>three.two</td>
                            <td>three.three</td>
                            <td>three.four</td>
                        </tr>
                        <tr>
                            <td>four.one</td>
                            <td>four.two</td>
                            <td>four.three</td>
                            <td>four.four</td>
                        </tr>
                        <tr>
                            <td>five.one</td>
                            <td>five.two</td>
                            <td>five.three</td>
                            <td>five.four</td>
                        </tr>
                        <tr>
                            <td>six.one</td>
                            <td>six.two</td>
                            <td>six.three</td>
                            <td>six.four</td>
                        </tr>
                        <tr>
                            <td>seven.one</td>
                            <td>seven.two</td>
                            <td>seven.three</td>
                            <td>seven.four</td>
                        </tr>
                        <tr>
                            <td>eight.one</td>
                            <td>eight.two</td>
                            <td>eight.three</td>
                            <td>eight.four</td>
                        </tr>
                        <tr>
                            <td>nine.one</td>
                            <td>nine.two</td>
                            <td>nine.three</td>
                            <td>nine.four</td>
                        </tr>
                        <tr>
                            <td>ten.one</td>
                            <td>ten.two</td>
                            <td>ten.three</td>
                            <td>ten.four</td>
                        </tr>
                    </table>
                </div>
            </div>
 
 
        </div>
        
        <div class="clear"></div>
        
    </div>
    
    
    
    
</body>
</html>
[+][-]03.12.2008 at 03:00PM PDT, ID: 21111231

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.

 
[+][-]03.12.2008 at 03:37PM PDT, ID: 21111507

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, IE6 vs. Firefox 2.0
Sign Up Now!
Solution Provided By: Argblat
Participating Experts: 3
Solution Grade: A
 
 
[+][-]03.12.2008 at 05:19PM PDT, ID: 21112158

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.

 
[+][-]03.14.2008 at 02:31AM PDT, ID: 21123922

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.

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