473,386 Members | 2,114 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,386 software developers and data experts.

this doesn't work with Netscape

Bob
Hi,

this works with IE 7 (you can see the red label with 60px length), but not
with Netscape 8 (nothing appears):

<form id="form1" runat="server">
<asp:Label ID="Label2" runat="server" BackColor="Red"
Width="60px"></asp:Label>
</form>

Any way to make ut work with Netscape?

Thanks
Bob
Nov 19 '07 #1
4 1002
"Bob" <cq@qs.qdqdwrote in message
news:e$**************@TK2MSFTNGP03.phx.gbl...
Any way to make ut work with Netscape?
Does it work if you do this:

<asp:Label ID="Label2" runat="server" BackColor="#ff0000"
Width="60px">&nbsp;</asp:Label>
--
Mark Rae
ASP.NET MVP
http://www.markrae.net

Nov 19 '07 #2
Bob
Hi, thanks for replying.
But no, it still doesn't work.
Here the page code produced by Netscape:

<span id="Label2"
style="display:inline-block;background-color:Red;width:60px;"></span>"Mark
Rae [MVP]" <ma**@markNOSPAMrae.netschreef in bericht
news:u4**************@TK2MSFTNGP02.phx.gbl...
"Bob" <cq@qs.qdqdwrote in message
news:e$**************@TK2MSFTNGP03.phx.gbl...
>Any way to make ut work with Netscape?

Does it work if you do this:

<asp:Label ID="Label2" runat="server" BackColor="#ff0000"
Width="60px">&nbsp;</asp:Label>
--
Mark Rae
ASP.NET MVP
http://www.markrae.net

Nov 19 '07 #3
"Bob" <cq@qs.qdqdwrote in message
news:uU**************@TK2MSFTNGP04.phx.gbl...
><asp:Label ID="Label2" runat="server" BackColor="#ff0000"
Width="60px">&nbsp;</asp:Label>
Hi, thanks for replying.
But no, it still doesn't work.
Here the page code produced by Netscape:

<span id="Label2"
style="display:inline-block;background-color:Red;width:60px;"></span>
Curious - it works fine for me, although I tested it on Netscape 9.0.0.3 as
I no longer have a copy of Netscape 8 installed anywhere...

Are you absolutely sure you included the non-breaking space - that doesn't
appear in your source, though it does in mine...
--
Mark Rae
ASP.NET MVP
http://www.markrae.net

Nov 19 '07 #4
Bob
Yes, i forgot &nbsp;
Now it works. Thanks

"Mark Rae [MVP]" <ma**@markNOSPAMrae.netschreef in bericht
news:uP**************@TK2MSFTNGP06.phx.gbl...
"Bob" <cq@qs.qdqdwrote in message
news:uU**************@TK2MSFTNGP04.phx.gbl...
>><asp:Label ID="Label2" runat="server" BackColor="#ff0000"
Width="60px">&nbsp;</asp:Label>
>Hi, thanks for replying.
But no, it still doesn't work.
Here the page code produced by Netscape:

<span id="Label2"
style="display:inline-block;background-color:Red;width:60px;"></span>

Curious - it works fine for me, although I tested it on Netscape 9.0.0.3
as I no longer have a copy of Netscape 8 installed anywhere...

Are you absolutely sure you included the non-breaking space - that doesn't
appear in your source, though it does in mine...
--
Mark Rae
ASP.NET MVP
http://www.markrae.net

Nov 19 '07 #5

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

Similar topics

9
by: Dom | last post by:
I have a frameset with a left right columns, called 'index' and 'content'. The left column of the frameset ('index') loads an index.htm file which have these hrefs (summarized the code a bit)...
7
by: AnnMarie | last post by:
My JavaScript Form Validation doesn't work at all in Netscape, but it works fine in IE. I made some of the suggested changes which enabled it to work in IE. I couldn't make all the changes...
2
by: SabMan | last post by:
I understand that document.layers is no longer supported in Netscape 7.1 but I am not sure on how to fix the code so that it will work with Netscape 7.1. I understand that document.all is no...
3
by: Jeff Wisnia | last post by:
I'd enjoy learning why this piece of javascript code which I cribbed a couple of years ago (It creates a trail of bubbles following the mouse pointer.) works fine in IE 6.0 and Netscape 4.79, but...
3
by: Iver Erling Årva | last post by:
Can anyone please tell me why this doesn't work? The sign changes when I hit the button, and I get no error messages, but the textarea doesn't disappear/reappear. <html> <head> <title>New...
2
by: Olaf | last post by:
I have a frameset page witch contains the myFuc() function. The function is accessed from a page in one of the frames in the frameset. An example is shown below. <input...
4
by: Joe Kehnast | last post by:
I'm running a system on W2K web server with a Professional XP client. I'm opening a window from an asp page using showModalDialog. In the window I open I'm calling the onLoad event from the body...
2
by: mortb | last post by:
I create a table containing radiobuttons in client script depending on what choices the user makes. It works fine the radio buttons appear *but* they are *not clickable*. Why? Is there a solution?...
10
by: Brett | last post by:
This code is supposed to work in Netscape 4+ and IE 4+. It works fine in IE but in Netscape 7.2, I get a blank page. Any suggestions? Thanks, Brett <html> <head>
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: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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...
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
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,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.