Monday, March 26, 2012

this doesn't work with Netscape

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"Bob" <cq@.qs.qdqdwrote in message
news:e$dQNotKIHA.1204@.TK2MSFTNGP03.phx.gbl...

Quote:

Originally Posted by

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"> </asp:Label>

--
Mark Rae
ASP.NET MVP
http://www.markrae.net
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]" <mark@.markNOSPAMrae.netschreef in bericht
news:u4z1d2tKIHA.3516@.TK2MSFTNGP02.phx.gbl...

Quote:

Originally Posted by

"Bob" <cq@.qs.qdqdwrote in message
news:e$dQNotKIHA.1204@.TK2MSFTNGP03.phx.gbl...
>

Quote:

Originally Posted by

>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"> </asp:Label>
>
>
--
Mark Rae
ASP.NET MVP
http://www.markrae.net


"Bob" <cq@.qs.qdqdwrote in message
news:uUXKs8tKIHA.4712@.TK2MSFTNGP04.phx.gbl...

Quote:

Originally Posted by

Quote:

Originally Posted by

><asp:Label ID="Label2" runat="server" BackColor="#ff0000"
>Width="60px"> </asp:Label>


Quote:

Originally Posted by

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
Yes, i forgot
Now it works. Thanks

"Mark Rae [MVP]" <mark@.markNOSPAMrae.netschreef in bericht
news:uPH4OJuKIHA.2064@.TK2MSFTNGP06.phx.gbl...

Quote:

Originally Posted by

"Bob" <cq@.qs.qdqdwrote in message
news:uUXKs8tKIHA.4712@.TK2MSFTNGP04.phx.gbl...
>

Quote:

Originally Posted by

Quote:

Originally Posted by

>><asp:Label ID="Label2" runat="server" BackColor="#ff0000"
>>Width="60px"> </asp:Label>


>

Quote:

Originally Posted by

>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

0 comments:

Post a Comment