Advertisement

09.09.2008 at 11:52AM PDT, ID: 23716728
[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

z-index Help with FireFox

Asked by greddin in Cascading Style Sheets (CSS)

Tags:

You you use my code below, there is an email icon that opens a popup div. This div opens on top and looks ok with IE but not on Firefox. I'm struggling to get the z-index right so that it appear on top with Firefox.

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:
199:
200:
201:
202:
203:
204:
205:
206:
207:
208:
209:
210:
211:
212:
213:
214:
215:
216:
217:
218:
219:
220:
221:
222:
223:
224:
225:
226:
227:
228:
229:
230:
231:
232:
233:
234:
235:
236:
237:
238:
239:
240:
241:
242:
243:
244:
245:
246:
247:
248:
249:
250:
251:
252:
253:
254:
255:
256:
257:
258:
259:
260:
261:
262:
263:
264:
265:
266:
267:
268:
269:
270:
271:
272:
273:
274:
275:
276:
277:
278:
279:
280:
281:
282:
283:
284:
285:
286:
287:
288:
289:
290:
291:
292:
293:
294:
295:
296:
297:
298:
299:
300:
301:
302:
303:
304:
305:
306:
307:
308:
309:
310:
311:
312:
313:
314:
315:
316:
317:
318:
319:
320:
321:
322:
323:
324:
325:
326:
327:
328:
329:
330:
331:
332:
333:
334:
335:
336:
337:
338:
339:
340:
341:
<html>
<head>
<title>z-index Test</title>
 
<style type="text/css">
.xuiListTable
{
	width: 90%;
	background: #FFFFFF;
	table-layout: fixed;
}
.xuiListHeaderCell
{
	color: #002165;
	background: #DDE8F2;
    border-top: 1px solid #418ADE;
    border-left: 1px solid #418ADE;
    border-right: 1px solid #418ADE;
    border-bottom: 1px solid #418ADE;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 8pt;
	font-weight: bold;
	text-decoration: none;
	text-align: center;
	vertical-align: middle;
	padding-top: 2px;
    padding-left: 2px;
    padding-right: 2px;
    padding-bottom: 3px;
	white-space: nowrap;
}
.xuiListHeaderDiv
{
	white-space:nowrap;
	overflow:hidden;
	text-align:center
}
.xuiListResizeDragCell_Header
{
	background: #FFFFFF;
	width: 4px;
	font-size: 1pt;
	border-bottom: 1px solid #C0C5C9;
}
.xuiListResizeDragCell_Item
{
	background: #C0C5C9;
	width: 4px;
	font-size:1px
}
.xuiListContentCell_Odd
{
	background: #FFFFFF;
	text-align: center;
	vertical-align: middle;
	padding-top: 4px;
	padding-bottom: 4px;
	padding-left: 4px;
	padding-right: 4px;
	border-bottom: 1px solid #8E9296;
}
.xuiListContentCell_Even
{
	background: #F4F4F4;
	text-align: center;
	vertical-align: middle;
	padding-top: 4px;
	padding-bottom: 4px;
	padding-left: 4px;
	padding-right: 4px;
	border-bottom: 1px solid #8E9296;
}
.xuiDisplayText_Sm
{
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 8pt;
}
a.xuiLinkText2_Sm
{
	color: #003491;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 8pt;
	text-decoration: none;
}
a.xuiLinkText2_Sm:visited
{
	color: #CD962A;
}
a.xuiLinkText2_Sm:hover
{
	color: #409600;
	text-decoration: underline;
}
#emaillink {
	position:absolute;
	visibility:hidden;
	color:#002165;
	background-color:#DDE8F2;
	/*background-image:url(<$HttpCommonRoot$>wv_collaboration_folder_ui/bgred.gif);*/
	/*background-repeat:repeat;*/
	/*background:#DDE8F2;*/
	border: 1px solid #418ADE;
	font-family:Verdana,Arial,Helvetica,sans-serif;
	z-index:99;
}
</style>
 
<script src="utility.js"></script>
<script src="popup.js"></script>
 
<script language="javascript">
	function docjslib_findHighestZ() {
		 var documentDivs = new Array();
		 documentDivs = document.all.tags("DIV");
		 var highestZ = 0;
		 for (var i = 0; i < documentDivs.length; i++) {
			  var Zindex = documentDivs[i].style.zIndex;
			  if (Zindex > highestZ) {
				   highestZ = Zindex;
			  }
		 }
		 //return highestZ;
		 alert("highestZ = " + highestZ);
	}
</script>
 
</head>
 
<body>
 
<table class="xuiListTable" style="width:100%" cellpadding="0" cellspacing="0" border="0">
	<tr>
		<!-- SELECT Column Header -->
		<td id="column_1_1" class="xuiListHeaderCell"  style="width:80px;">
			<div class="xuiListHeaderDiv" nowrap>
				Select
			</div>
		</td>
		<!-- Indicators Column Header -->
		<!--loop over the defined headers-->
		<td class="xuiListResizeDragCell_Header"></td>
		<td id="column_1_2" class="xuiListHeaderCell"  style="width:auto;">
			<div class="xuiListHeaderDiv" style='white-space:nowrap;overflow:hidden;text-align:center' nowrap='nowrap'>
				Title or Folder Name
			</div>
		</td>
		<td class="xuiListResizeDragCell_Header"></td>
		<td id="column_1_3" class="xuiListHeaderCell"  style="width:120px;">
			<div class="xuiListHeaderDiv" style='white-space:nowrap;overflow:hidden;text-align:center' nowrap='nowrap'>
				Revision Date
			</div>
		</td>
		<td class="xuiListResizeDragCell_Header"></td>
		<td id="column_1_4" class="xuiListHeaderCell"  style="width:120px;">
			<div class="xuiListHeaderDiv" style='white-space:nowrap;overflow:hidden;text-align:center' nowrap='nowrap'>
				Last Editor
			</div>
		</td>
		<!-- ACTIONS Column Header -->
		<td class="xuiListResizeDragCell_Header"></td>
		<td id="column_1_5" class="xuiListHeaderCell"  style="width:80px;vertical-align:middle">
			<div style="white-space:nowrap;overflow:hidden;text-align:center" nowrap>
				Actions
			</div>
		</td>
	</tr>
	<tr>
		<td style="font-size:1px">&nbsp;</td>
		<td rowspan="1000" class="xuiListResizeDragCell_Item" style="font-size:1px">&nbsp;</td>
		<td style="font-size:1px">&nbsp;</td>
		<td rowspan="1000" class="xuiListResizeDragCell_Item" style="font-size:1px">&nbsp;</td>
		<td style="font-size:1px">&nbsp;</td>
		<td rowspan="1000" class="xuiListResizeDragCell_Item" style="font-size:1px">&nbsp;</td>
		<td style="font-size:1px">&nbsp;</td>
		<td rowspan="1000" class="xuiListResizeDragCell_Item" style="font-size:1px">&nbsp;</td>
		<td style="font-size:1px">&nbsp;</td>
	</tr>
	<tr>
		<td class="xuiListContentCell_Odd" style="vertical-align:middle;width:auto">
			<div class="xuiDisplayText_Sm" style="overflow:hidden;text-align:center;white-space:nowrap" nowrap>
				<input id='checkbox_1_8601' type='checkbox'	onclick='document.MULTIPLEACTION.contentselect0.value=this.checked'/>
			</div>
		</td>
		<td class='xuiListContentCell_Odd' style='vertical-align:left;width:auto'>
			<div class='xuiDisplayText_Sm' style='overflow:hidden;text-align:left;white-space:nowrap' nowrap>
				<table cellpadding='0'>
					<tr>
						<td nowrap='nowrap'>
							<a href='#' class="xuiLinkText2_sm"><img src="tree_icon_item.gif" border=0></a>
						</td>
						<td>
							<div class='xuiDisplayText_Sm' style='overflow:hidden;text-align:center;white-space:nowrap' nowrap>
								<a href='#' class="xuiLinkText2_sm">Document #1</a>
							</div>
						</td>
					</tr>
				</table>
			</div>
		</td>
		<td class="xuiListContentCell_Odd">
			<div class="xuiDisplayText_Sm" style="overflow:hidden;text-align:center;white-space:nowrap" nowrap>
				9/4/08 1:37 PM&nbsp;
			</div>
		</td>
		<td class="xuiListContentCell_Odd">
			<div class="xuiDisplayText_Sm" style="overflow:hidden;text-align:center;white-space:nowrap" nowrap>
				System Administrator
			</div>
		</td>
		<td class="xuiListContentCell_Odd" style="vertical-align:middle;width:auto;">
			<div class="xuiDisplayText_Sm" style="overflow:hidden;text-align:center;white-space:nowrap;" nowrap>
				<img id="actIcon_1_8601" alt="Actions" title="Actions" src="ActionsIcon.gif"
				height="16" width="16" border="0">
				<!-- New Checkout Icon starts here -->
				<img src="Checkout_Open_Icon.gif" alt="Document is currently checked out by sysadmin" title="Document is currently checked out by sysadmin" height="16" width="16" border="0">
				<!-- New Checkout Icon ends here -->
				<!-- New Email Icon starts here -->
				<img src="EmailIcon.gif" alt="Send link by e-mail" title="Send link by e-mail" height="16" width="16" border="0" onclick="return !showPopup2('emaillink', event);">
				<div id="emaillink" onclick="event.cancelBubble = true;">
					<a href="#" onclick="hideCurrentPopup(); return false;">Close</a><br/><br/>
					Paste link in <strong>email</strong> or <strong>IM</strong><br/><br/>
					<input type="text" name="emaillinktext" size="60" value="" style="font-size:11px"><br/>
					<a href="#" onclick="docjslib_findHighestZ()">Find Z</a>
				</div>
				<!-- New Email Icon ends here -->
				<a href="#"><img src="InfoIcon_sm.gif" alt="Info" title="Info" height="16" width="16" border="0"></a>
			</div>
		</td>
	</tr>
	<tr>
		<td class="xuiListContentCell_Even" style="vertical-align:middle;width:auto">
			<div class="xuiDisplayText_Sm" style="overflow:hidden;text-align:center;white-space:nowrap" nowrap>
				<input id='checkbox_1_8598' type='checkbox'
				onclick='document.MULTIPLEACTION.contentselect1.value=this.checked'/>
			</div>
		</td>
		<td class='xuiListContentCell_Even' style='vertical-align:left;width:auto'>
			<div class='xuiDisplayText_Sm' style='overflow:hidden;text-align:left;white-space:nowrap' nowrap>
				<table cellpadding='0'>
					<tr>
						<td nowrap='nowrap'>
							<a href='#' class="xuiLinkText2_sm"><img src="tree_icon_item.gif" border=0></a>
						</td>
						<td>
							<div class='xuiDisplayText_Sm' style='overflow:hidden;text-align:center;white-space:nowrap' nowrap>
								<a href='#' class="xuiLinkText2_sm">Document #2</a>
							</div>
						</td>
					</tr>
				</table>
			</div>
		</td>
		<td class="xuiListContentCell_Even">
			<div class="xuiDisplayText_Sm" style="overflow:hidden;text-align:center;white-space:nowrap" nowrap>
				7/29/08 12:32 PM&nbsp;
			</div>
		</td>
		<td class="xuiListContentCell_Even">
			<div class="xuiDisplayText_Sm" style="overflow:hidden;text-align:center;white-space:nowrap" nowrap>
				System Administrator
			</div>
		</td>
		<td class="xuiListContentCell_Even" style="vertical-align:middle;width:auto;">
			<div class="xuiDisplayText_Sm" style="overflow:hidden;text-align:center;white-space:nowrap;" nowrap>
				<img id="actIcon_1_8598" alt="Actions" title="Actions" src="ActionsIcon.gif"
				height="16" width="16" border="0">
				<!-- New Checkout Icon starts here -->
				<a  href="#"><img src="Checkout_Close_Icon.gif" alt='Check Out' title='Check Out' height="16" width="16" border="0"></a>
				<!-- New Checkout Icon ends here -->
				<!-- New Email Icon starts here -->
				<img src="EmailIcon.gif" alt="Send link by e-mail" title="Send link by e-mail" height="16" width="16" border="0" onclick="return !showPopup2('emaillink', event);">
				<div id="emaillink" onclick="event.cancelBubble = true;">
					<a href="#" onclick="hideCurrentPopup(); return false;">Close</a><br/><br/>
					Paste link in <strong>email</strong> or <strong>IM</strong><br/><br/>
					<input type="text" name="emaillinktext" size="60" value="" style="font-size:11px"><br/>
					<a href="#" onclick="docjslib_findHighestZ()">Find Z</a>
				</div>
				<!-- New Email Icon ends here -->
				<a href="#"><img src="InfoIcon_sm.gif" alt="Info" title="Info" height="16" width="16" border="0"></a>
			</div>
		</td>
	</tr>
	<tr>
		<td class="xuiListContentCell_Odd" style="vertical-align:middle;width:auto">
			<div class="xuiDisplayText_Sm" style="overflow:hidden;text-align:center;white-space:nowrap" nowrap>
				<input id='checkbox_1_8600' type='checkbox'
				onclick='document.MULTIPLEACTION.contentselect2.value=this.checked'/>
			</div>
		</td>
		<td class='xuiListContentCell_Odd' style='vertical-align:left;width:auto'>
			<div class='xuiDisplayText_Sm' style='overflow:hidden;text-align:left;white-space:nowrap' nowrap>
				<table cellpadding='0'>
					<tr>
						<td nowrap='nowrap'>
							<a href='#' class="xuiLinkText2_sm">
							<img src="tree_icon_item.gif" border=0></a>
						</td>
						<td>
							<div class='xuiDisplayText_Sm' style='overflow:hidden;text-align:center;white-space:nowrap' nowrap>
								<a href='#' class="xuiLinkText2_sm">Document #3</a>
							</div>
						</td>
					</tr>
				</table>
			</div>
		</td>
		<td class="xuiListContentCell_Odd">
			<div class="xuiDisplayText_Sm" style="overflow:hidden;text-align:center;white-space:nowrap" nowrap>
				8/25/08 8:07 AM&nbsp;
			</div>
		</td>
		<td class="xuiListContentCell_Odd">
			<div class="xuiDisplayText_Sm" style="overflow:hidden;text-align:center;white-space:nowrap" nowrap>
				System Administrator
			</div>
		</td>
		<td class="xuiListContentCell_Odd" style="vertical-align:middle;width:auto;">
			<div class="xuiDisplayText_Sm" style="overflow:hidden;text-align:center;white-space:nowrap;" nowrap>
				<img id="actIcon_1_8600" alt="Actions" title="Actions" src="ActionsIcon.gif"
				height="16" width="16" border="0" onclick="showPopup('popup_1_8600', 'actIcon_1_8600', event);">
				<!-- New Checkout Icon starts here -->
				<a  href="#"><img src="Checkout_Close_Icon.gif" alt='Check Out' title='Check Out' height="16" width="16" border="0"></a>
				<!-- New Checkout Icon ends here -->
				<!-- New Email Icon starts here -->
				<img src="EmailIcon.gif" alt="Send link by e-mail" title="Send link by e-mail" height="16" width="16" border="0" onclick="return !showPopup2('emaillink', event);">
				<div id="emaillink" onclick="event.cancelBubble = true;">
					<a href="#" onclick="hideCurrentPopup(); return false;">Close</a><br/><br/>
					Paste link in <strong>email</strong> or <strong>IM</strong><br/><br/>
					<input type="text" name="emaillinktext" size="60" value="" style="font-size:11px"><br/>
					<a href="#" onclick="docjslib_findHighestZ()">Find Z</a>
				</div>
				<!-- New Email Icon ends here -->
				<a href="#"><img src="InfoIcon_sm.gif" alt="Info" title="Info" height="16" width="16" border="0"></a>
			</div>
		</tr>
	</tr>
</table>
 
</body>
 
</html>
Attachments:
 
FireFox z-index problem screenshot
FireFox z-index problem screenshot
 
[+][-]09.09.2008 at 12:11PM PDT, ID: 22431029

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.

 
[+][-]09.09.2008 at 12:13PM PDT, ID: 22431048

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.

 
[+][-]09.09.2008 at 12:17PM PDT, ID: 22431106

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.

 
[+][-]09.09.2008 at 12:19PM PDT, ID: 22431140

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.

 
[+][-]09.09.2008 at 12:22PM PDT, ID: 22431187

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.

 
[+][-]09.09.2008 at 12:24PM PDT, ID: 22431204

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.

 
[+][-]09.09.2008 at 12:36PM PDT, ID: 22431344

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: CSS, HTML
Sign Up Now!
Solution Provided By: kayahr
Participating Experts: 1
Solution Grade: A
 
 
[+][-]09.09.2008 at 01:02PM PDT, ID: 22431607

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.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628