473,385 Members | 1,863 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

netscape div solid background

I have a div which I position on the page containing errors. In IE it works
fine. In Netscape it has a transparent background and I'm unable to make it
solid. Please help. Thanks

<div id="statusContainer"
style="display:none;position:absolute;top:0px;left :0px;height:0px;width:0px;">
<table border="15" bordercolor="#DE0000" bordercolorlight="#FF0000"
cellpadding="10"><tr><td><table cellspacing="0" cellpadding="0">
<tr><td id="statusText" nowrap><%=status%></td></tr>
<tr><td>&nbsp;</td></tr>
<tr><td align="center"><input type="button" value="Close"
onclick="document.getElementById('statusContainer' ).style.display='none';
document.getElementById('statusFrame').style.displ ay='none';"></td></tr>
</table></td></tr>
</div>
<iframe id="statusFrame"
style="display:none;top:0px;left:0px;height:0px;wi dth:0px;position:absolute;"
src="about:blank" frameBorder="0" scrolling="no"></iframe>

var clientX,clientY;
if (self.innerHeight) {
clientX = self.innerWidth;
clientY = self.innerHeight;
}
else if (document.documentElement &&
document.documentElement.clientHeight) {
clientX = document.documentElement.clientWidth;
clientY = document.documentElement.clientHeight;
}
else if (document.body) {
clientX = document.body.clientWidth;
clientY = document.body.clientHeight;
}
var container = document.getElementById("statusContainer");
var frame = document.getElementById("statusFrame");
container.style.top = (y + 50) + "px";
container.style.left = (x + 50) + "px";
container.zIndex = 99;
container.style.display = "block";
frame.style.width = container.offsetWidth + "px";
frame.style.height = container.offsetHeight + "px";
frame.style.zIndex = container.style.zIndex - 1;
frame.style.display = "block";

Dec 3 '05 #1
2 1407


If the page contains errors, chances are the culprit is there, so,
repost with a more specific query.
Danny
Dec 4 '05 #2
>From: David McDivitt <x1*********@del-yahoo.com>
Date: Sat, 03 Dec 2005 17:02:07 -0600
Lines: 44

I have a div which I position on the page containing errors. In IE it works
fine. In Netscape it has a transparent background and I'm unable to make it
solid. Please help. Thanks


I fixed my problem by using class="whatever" in the tag. Should not have to
do that. I should have been able to add more stuff to the style property,
but that did not help. I had something in the style sheet already so I used
that, and it ends up looking better than plain white.
--
http://nonspiritual.com
http://freeconservative.org
http://todiscuss.com
Dec 4 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Adrian | last post by:
How can i get this menu to work in NS 7.1 ???? See example here: http://www.ascc.com/testmenu.cfm Thanks,Adrian! <HTML>
3
by: Simba | last post by:
Hi, I've written some javascript routines for Internet Explorer and Opera. Could you tell me the Netscape and Mozilla equivalents? Thanks ------------------------- //this works with...
5
by: ddt_rock | last post by:
Hello, everyone! I have a problem with Netscape. I want to submit form from <A> tag <form name="f1" method="post" action="TTT.htm"> <a href="javascript:document.f1.submit();"> Test </a>
1
by: Alex Peng | last post by:
I have the following code. For IE 6, I can get link one and link two in two separated lines, but not in Netscape 7. I try to set display:block for A.ccMenu; however, the hyperlink excess ccMenuBox...
7
by: Jonas Smithson | last post by:
Hello all, I have an absolute positioned parent div, and nested inside it is an absolute positioned child div -- I mean the div *code* is nested inside, but the child is physically positioned so...
6
by: qqq | last post by:
I'm a relative newbie... I'd like my site to support Netscape browsers. For a page I set 'TargetSchema' to 'IE 3.02/Netscape 3'. When I insert label or textbox web controls on the page, they...
2
by: jbweb04 | last post by:
Hello! I've created the following web site (http://www.vanpratthomes.com) and have found that the background in the right hand column and the bottom row with the company address, phone, etc. are not...
14
by: Inny | last post by:
Im using This nifty code that works Great in IE but not so great in Mozilla, In ie if you add an image, the sidenote fits around it, but in mozilla the image just sits over the top. please help ...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.