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 appear with no size/color/border attributes etc.
when viewed in Netscape. They appear just fine in IE.
Can someone please explain?
Thanks - Paul.
--
ps. how widely is Netscape used now?
Below is the html SENT TO NETSCAPE:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<title>testnetscape</title>
<meta content="Microsoft Visual Studio .NET 7.1" name="GENERATOR">
<meta content="Visual Basic .NET 7.1" name="CODE_LANGUAGE">
<meta content="JavaScript" name="vs_defaultClientScript">
<meta content="http://schemas.microsoft.com/intellisense/ie3-2nav3-0"
name="vs_targetSchema">
</HEAD>
<body MS_POSITIONING="GridLayout">
<TABLE height="696" cellSpacing="0" cellPadding="0" width="394" border="0"
ms_2d_layout="TRUE">
<TR vAlign="top">
<TD width="394" height="696">
<form name="Form1" method="post" action="testnetscape.aspx" id="Form1">
<input type="hidden" name="__VIEWSTATE"
value="dDwtMTU3ODAzNTQ4MDs7Ps/rt4uymImtDNzAtPeOgWAFiJM9" />
<TABLE height="377" cellSpacing="0" cellPadding="0" width="684"
border="0" ms_2d_layout="TRUE">
<TR vAlign="top">
<TD width="2" height="160"></TD>
<TD width="682"></TD>
</TR>
<TR vAlign="top">
<TD height="217"></TD>
<TD><span id="Label1">aaaaaLabelblahhhhhhhhhhh</span></TD>
</TR>
</TABLE>
</form>
</TD>
</TR>
</TABLE>
</body>
</HTML>
Here's the html SENT TO IE 6:<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0
Transitional//EN"><HTML> <HEAD> <title>testnetscape</title> <meta
content="Microsoft Visual Studio .NET 7.1" name="GENERATOR"> <meta
content="Visual Basic .NET 7.1" name="CODE_LANGUAGE"> <meta
content="JavaScript" name="vs_defaultClientScript"> <meta
content="http://schemas.microsoft.com/intellisense/ie3-2nav3-0"
name="vs_targetSchema"> </HEAD> <body MS_POSITIONING="GridLayout"> <TABLE
height="696" cellSpacing="0" cellPadding="0" width="394" border="0"
ms_2d_layout="TRUE"> <TR vAlign="top"> <TD width="394" height="696">
<form name="Form1" method="post" action="testnetscape.aspx"
id="Form1"><input type="hidden" name="__VIEWSTATE"
value="dDwtMTU3ODAzNTQ4MDs7Ps/rt4uymImtDNzAtPeOgWAFiJM9" /> <TABLE
height="377" cellSpacing="0" cellPadding="0" width="684" border="0"
ms_2d_layout="TRUE"> <TR vAlign="top"> <TD width="2"
height="160"></TD> <TD width="682"></TD> </TR> <TR
vAlign="top"> <TD height="217"></TD> <TD><span id="Label1"
style="background-color:Lime;border-color:Red;border-width:2px;border-style:solid;height:216px;width:680px;">aaaaaLabelb lahhhhhhhhhhh</span></TD>
</TR> </TABLE> </form> </TD> </TR> </TABLE> </body></HTML> 6 1899
On Sun, 29 Aug 2004 17:44:03 -0400, qqq <qq*@qqq.com> wrote: 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 appear with no size/color/border attributes etc. when viewed in Netscape. They appear just fine in IE.
Can someone please explain?
Thanks - Paul. -- ps. how widely is Netscape used now?
Below is the html SENT TO NETSCAPE:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML> <HEAD> <title>testnetscape</title> <meta content="Microsoft Visual Studio .NET 7.1" name="GENERATOR"> <meta content="Visual Basic .NET 7.1" name="CODE_LANGUAGE"> <meta content="JavaScript" name="vs_defaultClientScript"> <meta content="http://schemas.microsoft.com/intellisense/ie3-2nav3-0" name="vs_targetSchema"> </HEAD> <body MS_POSITIONING="GridLayout"> <TABLE height="696" cellSpacing="0" cellPadding="0" width="394" border="0" ms_2d_layout="TRUE"> <TR vAlign="top"> <TD width="394" height="696"> <form name="Form1" method="post" action="testnetscape.aspx" id="Form1"> <input type="hidden" name="__VIEWSTATE" value="dDwtMTU3ODAzNTQ4MDs7Ps/rt4uymImtDNzAtPeOgWAFiJM9" />
<TABLE height="377" cellSpacing="0" cellPadding="0" width="684" border="0" ms_2d_layout="TRUE"> <TR vAlign="top"> <TD width="2" height="160"></TD> <TD width="682"></TD> </TR> <TR vAlign="top"> <TD height="217"></TD> <TD><span id="Label1">aaaaaLabelblahhhhhhhhhhh</span></TD> </TR> </TABLE> </form> </TD> </TR> </TABLE> </body> </HTML> Here's the html SENT TO IE 6:<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"><HTML> <HEAD> <title>testnetscape</title> <meta content="Microsoft Visual Studio .NET 7.1" name="GENERATOR"> <meta content="Visual Basic .NET 7.1" name="CODE_LANGUAGE"> <meta content="JavaScript" name="vs_defaultClientScript"> <meta content="http://schemas.microsoft.com/intellisense/ie3-2nav3-0" name="vs_targetSchema"> </HEAD> <body MS_POSITIONING="GridLayout"> <TABLE height="696" cellSpacing="0" cellPadding="0" width="394" border="0" ms_2d_layout="TRUE"> <TR vAlign="top"> <TD width="394" height="696"> <form name="Form1" method="post" action="testnetscape.aspx" id="Form1"><input type="hidden" name="__VIEWSTATE" value="dDwtMTU3ODAzNTQ4MDs7Ps/rt4uymImtDNzAtPeOgWAFiJM9" /> <TABLE height="377" cellSpacing="0" cellPadding="0" width="684" border="0" ms_2d_layout="TRUE"> <TR vAlign="top"> <TD width="2" height="160"></TD> <TD width="682"></TD> </TR> <TR vAlign="top"> <TD height="217"></TD> <TD><span id="Label1" style="background-color:Lime;border-color:Red;border-width:2px;border-style:solid;height:216px;width:680px;">aaaaaLabelb lahhhhhhhhhhh</span></TD> </TR> </TABLE> </form> </TD> </TR> </TABLE> </body></HTML>
Unless you need to support such old browsers, I wouldn't set the
targetSchema back. Netscape 4.8 was the last 'problematic' browser that
would make me consider the change IMHO. I would leave it set at IE5.0 and
then test and find any problems. Most of the code will work fine.
IMHO, you should ignore what was formerly known as Netscape; everything
from now on will be Firefox or thanks to AOL, Netscape 7.2 (the name is
back), which is based on the same engine as Firefox. They are very
standards-conforming, and work well with ASP.NET, very minimal rework
needed. They are the alternate browsers you should now target (and Opera!
:-) ) Most well-written code works well in all these browsers, which all
have a share of the market...
--
Craig Deelsnyder
Microsoft MVP - ASP/ASP.NET
ASP.NET does not write the correct HTML to non-IE browsers with the result
that styles attributes and other features do not work correctly. To correct
this, you should adjust the web config file accordingly. Here's a link from
Teemu Keiski to fix this problem: http://www.mcse.ms/message904713.html
--
Regards,
Alvin Bruney
[ASP.NET MVP http://mvp.support.microsoft.com/default.aspx]
Got tidbits? Get it here... http://tinyurl.com/27cok
"qqq" <qq*@qqq.com> wrote in message
news:ei**************@TK2MSFTNGP11.phx.gbl... 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 appear with no size/color/border attributes etc. when viewed in Netscape. They appear just fine in IE.
Can someone please explain?
Thanks - Paul. -- ps. how widely is Netscape used now?
Below is the html SENT TO NETSCAPE:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML> <HEAD> <title>testnetscape</title> <meta content="Microsoft Visual Studio .NET 7.1" name="GENERATOR"> <meta content="Visual Basic .NET 7.1" name="CODE_LANGUAGE"> <meta content="JavaScript" name="vs_defaultClientScript"> <meta content="http://schemas.microsoft.com/intellisense/ie3-2nav3-0" name="vs_targetSchema"> </HEAD> <body MS_POSITIONING="GridLayout"> <TABLE height="696" cellSpacing="0" cellPadding="0" width="394" border="0" ms_2d_layout="TRUE"> <TR vAlign="top"> <TD width="394" height="696"> <form name="Form1" method="post" action="testnetscape.aspx" id="Form1"> <input type="hidden" name="__VIEWSTATE" value="dDwtMTU3ODAzNTQ4MDs7Ps/rt4uymImtDNzAtPeOgWAFiJM9" />
<TABLE height="377" cellSpacing="0" cellPadding="0" width="684" border="0" ms_2d_layout="TRUE"> <TR vAlign="top"> <TD width="2" height="160"></TD> <TD width="682"></TD> </TR> <TR vAlign="top"> <TD height="217"></TD> <TD><span id="Label1">aaaaaLabelblahhhhhhhhhhh</span></TD> </TR> </TABLE> </form> </TD> </TR> </TABLE> </body> </HTML> Here's the html SENT TO IE 6:<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"><HTML> <HEAD> <title>testnetscape</title> <meta content="Microsoft Visual Studio .NET 7.1" name="GENERATOR"> <meta content="Visual Basic .NET 7.1" name="CODE_LANGUAGE"> <meta content="JavaScript" name="vs_defaultClientScript"> <meta content="http://schemas.microsoft.com/intellisense/ie3-2nav3-0" name="vs_targetSchema"> </HEAD> <body MS_POSITIONING="GridLayout"> <TABLE height="696" cellSpacing="0" cellPadding="0" width="394" border="0" ms_2d_layout="TRUE"> <TR vAlign="top"> <TD width="394" height="696"> <form name="Form1" method="post" action="testnetscape.aspx" id="Form1"><input type="hidden" name="__VIEWSTATE" value="dDwtMTU3ODAzNTQ4MDs7Ps/rt4uymImtDNzAtPeOgWAFiJM9" /> <TABLE height="377" cellSpacing="0" cellPadding="0" width="684" border="0" ms_2d_layout="TRUE"> <TR vAlign="top"> <TD width="2" height="160"></TD> <TD width="682"></TD> </TR> <TR vAlign="top"> <TD height="217"></TD> <TD><span id="Label1" style="background-color:Lime;border-color:Red;border-width:2px;border-style:solid;height:216px;width:680px;">aaaaaLabelb lahhhhhhhhhhh</span></TD> </TR> </TABLE> </form> </TD> </TR> </TABLE> </body></HTML>
Thanks Craig - I sincerely hope that you are right, but my testing suggests
otherwise... Even when I have the page TargetSchema set to IE5.0 (as you
suggest) it still sends 'minimal' html to Netscape for label controls - ie.
they lose all size/format attributes - as in my original sample. What gives
here?
Thanks, Paul.
------
"Craig Deelsnyder" <cdeelsny@no_spam_4_meyahoo.com> wrote in message
news:opsdilp4rz75dg5d@g51y101... On Sun, 29 Aug 2004 17:44:03 -0400, qqq <qq*@qqq.com> wrote:
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 appear with no size/color/border attributes etc. when viewed in Netscape. They appear just fine in IE.
Can someone please explain?
Thanks - Paul. -- ps. how widely is Netscape used now?
Below is the html SENT TO NETSCAPE:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML> <HEAD> <title>testnetscape</title> <meta content="Microsoft Visual Studio .NET 7.1" name="GENERATOR"> <meta content="Visual Basic .NET 7.1" name="CODE_LANGUAGE"> <meta content="JavaScript" name="vs_defaultClientScript"> <meta content="http://schemas.microsoft.com/intellisense/ie3-2nav3-0" name="vs_targetSchema"> </HEAD> <body MS_POSITIONING="GridLayout"> <TABLE height="696" cellSpacing="0" cellPadding="0" width="394" border="0" ms_2d_layout="TRUE"> <TR vAlign="top"> <TD width="394" height="696"> <form name="Form1" method="post" action="testnetscape.aspx" id="Form1"> <input type="hidden" name="__VIEWSTATE" value="dDwtMTU3ODAzNTQ4MDs7Ps/rt4uymImtDNzAtPeOgWAFiJM9" />
<TABLE height="377" cellSpacing="0" cellPadding="0" width="684" border="0" ms_2d_layout="TRUE"> <TR vAlign="top"> <TD width="2" height="160"></TD> <TD width="682"></TD> </TR> <TR vAlign="top"> <TD height="217"></TD> <TD><span id="Label1">aaaaaLabelblahhhhhhhhhhh</span></TD> </TR> </TABLE> </form> </TD> </TR> </TABLE> </body> </HTML> Here's the html SENT TO IE 6:<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"><HTML> <HEAD> <title>testnetscape</title> <meta content="Microsoft Visual Studio .NET 7.1" name="GENERATOR"> <meta content="Visual Basic .NET 7.1" name="CODE_LANGUAGE"> <meta content="JavaScript" name="vs_defaultClientScript"> <meta content="http://schemas.microsoft.com/intellisense/ie3-2nav3-0" name="vs_targetSchema"> </HEAD> <body MS_POSITIONING="GridLayout"> <TABLE height="696" cellSpacing="0" cellPadding="0" width="394" border="0" ms_2d_layout="TRUE"> <TR vAlign="top"> <TD width="394" height="696"> <form name="Form1" method="post" action="testnetscape.aspx" id="Form1"><input type="hidden" name="__VIEWSTATE" value="dDwtMTU3ODAzNTQ4MDs7Ps/rt4uymImtDNzAtPeOgWAFiJM9" /> <TABLE height="377" cellSpacing="0" cellPadding="0" width="684" border="0" ms_2d_layout="TRUE"> <TR vAlign="top"> <TD width="2" height="160"></TD> <TD width="682"></TD> </TR> <TR vAlign="top"> <TD height="217"></TD> <TD><span id="Label1" style="background-color:Lime;border-color:Red;border-width:2px;border-style:solid;height:216px;width:680px;">aaaaaLabelb lahhhhhhhhhhh</span></TD> </TR> </TABLE> </form> </TD> </TR> </TABLE> </body></HTML>
Unless you need to support such old browsers, I wouldn't set the targetSchema back. Netscape 4.8 was the last 'problematic' browser that would make me consider the change IMHO. I would leave it set at IE5.0 and then test and find any problems. Most of the code will work fine.
IMHO, you should ignore what was formerly known as Netscape; everything from now on will be Firefox or thanks to AOL, Netscape 7.2 (the name is back), which is based on the same engine as Firefox. They are very standards-conforming, and work well with ASP.NET, very minimal rework needed. They are the alternate browsers you should now target (and Opera! :-) ) Most well-written code works well in all these browsers, which all have a share of the market...
-- Craig Deelsnyder Microsoft MVP - ASP/ASP.NET
On Sun, 29 Aug 2004 21:37:18 -0400, qqq <qq*@qqq.com> wrote: Thanks Craig - I sincerely hope that you are right, but my testing suggests otherwise... Even when I have the page TargetSchema set to IE5.0 (as you suggest) it still sends 'minimal' html to Netscape for label controls - ie. they lose all size/format attributes - as in my original sample. What gives here?
Thanks, Paul. ------ "Craig Deelsnyder" <cdeelsny@no_spam_4_meyahoo.com> wrote in message news:opsdilp4rz75dg5d@g51y101... On Sun, 29 Aug 2004 17:44:03 -0400, qqq <qq*@qqq.com> wrote:
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 appear with no size/color/border attributes etc. when viewed in Netscape. They appear just fine in IE.
Can someone please explain?
Thanks - Paul. -- ps. how widely is Netscape used now?
Below is the html SENT TO NETSCAPE:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML> <HEAD> <title>testnetscape</title> <meta content="Microsoft Visual Studio .NET 7.1" name="GENERATOR"> <meta content="Visual Basic .NET 7.1" name="CODE_LANGUAGE"> <meta content="JavaScript" name="vs_defaultClientScript"> <meta content="http://schemas.microsoft.com/intellisense/ie3-2nav3-0" name="vs_targetSchema"> </HEAD> <body MS_POSITIONING="GridLayout"> <TABLE height="696" cellSpacing="0" cellPadding="0" width="394" border="0" ms_2d_layout="TRUE"> <TR vAlign="top"> <TD width="394" height="696"> <form name="Form1" method="post" action="testnetscape.aspx" id="Form1"> <input type="hidden" name="__VIEWSTATE" value="dDwtMTU3ODAzNTQ4MDs7Ps/rt4uymImtDNzAtPeOgWAFiJM9" />
<TABLE height="377" cellSpacing="0" cellPadding="0" width="684" border="0" ms_2d_layout="TRUE"> <TR vAlign="top"> <TD width="2" height="160"></TD> <TD width="682"></TD> </TR> <TR vAlign="top"> <TD height="217"></TD> <TD><span id="Label1">aaaaaLabelblahhhhhhhhhhh</span></TD> </TR> </TABLE> </form> </TD> </TR> </TABLE> </body> </HTML> Here's the html SENT TO IE 6:<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"><HTML> <HEAD> <title>testnetscape</title> <meta content="Microsoft Visual Studio .NET 7.1" name="GENERATOR"> <meta content="Visual Basic .NET 7.1" name="CODE_LANGUAGE"> <meta content="JavaScript" name="vs_defaultClientScript"> <meta content="http://schemas.microsoft.com/intellisense/ie3-2nav3-0" name="vs_targetSchema"> </HEAD> <body MS_POSITIONING="GridLayout"> <TABLE height="696" cellSpacing="0" cellPadding="0" width="394" border="0" ms_2d_layout="TRUE"> <TR vAlign="top"> <TD width="394" height="696"> <form name="Form1" method="post" action="testnetscape.aspx" id="Form1"><input type="hidden" name="__VIEWSTATE" value="dDwtMTU3ODAzNTQ4MDs7Ps/rt4uymImtDNzAtPeOgWAFiJM9" /> <TABLE height="377" cellSpacing="0" cellPadding="0" width="684" border="0" ms_2d_layout="TRUE"> <TR vAlign="top"> <TD width="2" height="160"></TD> <TD width="682"></TD> </TR> <TR vAlign="top"> <TD height="217"></TD> <TD><span id="Label1" style="background-color:Lime;border-color:Red;border-width:2px;border-style:solid;height:216px;width:680px;">aaaaaLabelb lahhhhhhhhhhh</span></TD> </TR> </TABLE> </form> </TD> </TR> </TABLE> </body></HTML>
Unless you need to support such old browsers, I wouldn't set the targetSchema back. Netscape 4.8 was the last 'problematic' browser that would make me consider the change IMHO. I would leave it set at IE5.0 and then test and find any problems. Most of the code will work fine.
IMHO, you should ignore what was formerly known as Netscape; everything from now on will be Firefox or thanks to AOL, Netscape 7.2 (the name is back), which is based on the same engine as Firefox. They are very standards-conforming, and work well with ASP.NET, very minimal rework needed. They are the alternate browsers you should now target (and Opera! :-) ) Most well-written code works well in all these browsers, which all have a share of the market...
-- Craig Deelsnyder Microsoft MVP - ASP/ASP.NET
See Alvin's reply. It's been so long since I've done something like this;
I never set styles, etc. on controls this way (via properties). I always
use CSS classes to keep the styles separate from the html (hopefully). I
do remember this now from back when I first started in ASP.NET....
--
Craig Deelsnyder
Microsoft MVP - ASP/ASP.NET
Alvin - thanks for responding. I implemented your suggestion and it works
fine. Maybe I'm just naive, but can MS really have done such a bad job of
ASP.Net that even my extremely humble requirements break it?! Is there not
even an MSKB article on this? How come everybody doesn't fall foul of this
problem? What am I missing here?
Thanks, Paul.
------
"Alvin Bruney [MVP]" <vapor at steaming post office> wrote in message
news:ej**************@TK2MSFTNGP15.phx.gbl... ASP.NET does not write the correct HTML to non-IE browsers with the result that styles attributes and other features do not work correctly. To correct this, you should adjust the web config file accordingly. Here's a link from Teemu Keiski to fix this problem: http://www.mcse.ms/message904713.html
-- Regards, Alvin Bruney [ASP.NET MVP http://mvp.support.microsoft.com/default.aspx] Got tidbits? Get it here... http://tinyurl.com/27cok "qqq" <qq*@qqq.com> wrote in message news:ei**************@TK2MSFTNGP11.phx.gbl... 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 appear with no size/color/border attributes etc. when viewed in Netscape. They appear just fine in IE.
Can someone please explain?
Thanks - Paul. -- ps. how widely is Netscape used now?
Below is the html SENT TO NETSCAPE:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML> <HEAD> <title>testnetscape</title> <meta content="Microsoft Visual Studio .NET 7.1" name="GENERATOR"> <meta content="Visual Basic .NET 7.1" name="CODE_LANGUAGE"> <meta content="JavaScript" name="vs_defaultClientScript"> <meta content="http://schemas.microsoft.com/intellisense/ie3-2nav3-0" name="vs_targetSchema"> </HEAD> <body MS_POSITIONING="GridLayout"> <TABLE height="696" cellSpacing="0" cellPadding="0" width="394" border="0" ms_2d_layout="TRUE"> <TR vAlign="top"> <TD width="394" height="696"> <form name="Form1" method="post" action="testnetscape.aspx" id="Form1"> <input type="hidden" name="__VIEWSTATE" value="dDwtMTU3ODAzNTQ4MDs7Ps/rt4uymImtDNzAtPeOgWAFiJM9" />
<TABLE height="377" cellSpacing="0" cellPadding="0" width="684" border="0" ms_2d_layout="TRUE"> <TR vAlign="top"> <TD width="2" height="160"></TD> <TD width="682"></TD> </TR> <TR vAlign="top"> <TD height="217"></TD> <TD><span id="Label1">aaaaaLabelblahhhhhhhhhhh</span></TD> </TR> </TABLE> </form> </TD> </TR> </TABLE> </body> </HTML> Here's the html SENT TO IE 6:<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"><HTML> <HEAD> <title>testnetscape</title> <meta content="Microsoft Visual Studio .NET 7.1" name="GENERATOR"> <meta content="Visual Basic .NET 7.1" name="CODE_LANGUAGE"> <meta content="JavaScript" name="vs_defaultClientScript"> <meta content="http://schemas.microsoft.com/intellisense/ie3-2nav3-0" name="vs_targetSchema"> </HEAD> <body MS_POSITIONING="GridLayout"> <TABLE height="696" cellSpacing="0" cellPadding="0" width="394" border="0" ms_2d_layout="TRUE"> <TR vAlign="top"> <TD width="394" height="696"> <form name="Form1" method="post" action="testnetscape.aspx" id="Form1"><input type="hidden" name="__VIEWSTATE" value="dDwtMTU3ODAzNTQ4MDs7Ps/rt4uymImtDNzAtPeOgWAFiJM9" /> <TABLE height="377" cellSpacing="0" cellPadding="0" width="684" border="0" ms_2d_layout="TRUE"> <TR vAlign="top"> <TD width="2" height="160"></TD> <TD width="682"></TD> </TR> <TR vAlign="top"> <TD height="217"></TD> <TD><span id="Label1" style="background-color:Lime;border-color:Red;border-width:2px;border-style:solid;height:216px;width:680px;">aaaaaLabelb lahhhhhhhhhhh</span></TD> </TR> </TABLE> </form> </TD> </TR> </TABLE> </body></HTML>
I've been thinking about this ever since i ran into the problem. I think it
is a move to stifle competition, because the end effect is for non-IE
browsers to misbehave. Guess what that does? It drives away the competition.
Anyway, this behavior has been repaired in ASP 2.0.
--
Regards,
Alvin Bruney
[ASP.NET MVP http://mvp.support.microsoft.com/default.aspx]
Got tidbits? Get it here... http://tinyurl.com/27cok
"qqq" <qq*@qqq.com> wrote in message
news:eA**************@TK2MSFTNGP15.phx.gbl... Alvin - thanks for responding. I implemented your suggestion and it works fine. Maybe I'm just naive, but can MS really have done such a bad job of ASP.Net that even my extremely humble requirements break it?! Is there not even an MSKB article on this? How come everybody doesn't fall foul of this problem? What am I missing here?
Thanks, Paul. ------
"Alvin Bruney [MVP]" <vapor at steaming post office> wrote in message news:ej**************@TK2MSFTNGP15.phx.gbl... ASP.NET does not write the correct HTML to non-IE browsers with the result that styles attributes and other features do not work correctly. To correct this, you should adjust the web config file accordingly. Here's a link from Teemu Keiski to fix this problem: http://www.mcse.ms/message904713.html
-- Regards, Alvin Bruney [ASP.NET MVP http://mvp.support.microsoft.com/default.aspx] Got tidbits? Get it here... http://tinyurl.com/27cok "qqq" <qq*@qqq.com> wrote in message news:ei**************@TK2MSFTNGP11.phx.gbl... 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 appear with no size/color/border attributes etc. when viewed in Netscape. They appear just fine in IE.
Can someone please explain?
Thanks - Paul. -- ps. how widely is Netscape used now?
Below is the html SENT TO NETSCAPE:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML> <HEAD> <title>testnetscape</title> <meta content="Microsoft Visual Studio .NET 7.1" name="GENERATOR"> <meta content="Visual Basic .NET 7.1" name="CODE_LANGUAGE"> <meta content="JavaScript" name="vs_defaultClientScript"> <meta content="http://schemas.microsoft.com/intellisense/ie3-2nav3-0" name="vs_targetSchema"> </HEAD> <body MS_POSITIONING="GridLayout"> <TABLE height="696" cellSpacing="0" cellPadding="0" width="394" border="0" ms_2d_layout="TRUE"> <TR vAlign="top"> <TD width="394" height="696"> <form name="Form1" method="post" action="testnetscape.aspx" id="Form1"> <input type="hidden" name="__VIEWSTATE" value="dDwtMTU3ODAzNTQ4MDs7Ps/rt4uymImtDNzAtPeOgWAFiJM9" />
<TABLE height="377" cellSpacing="0" cellPadding="0" width="684" border="0" ms_2d_layout="TRUE"> <TR vAlign="top"> <TD width="2" height="160"></TD> <TD width="682"></TD> </TR> <TR vAlign="top"> <TD height="217"></TD> <TD><span id="Label1">aaaaaLabelblahhhhhhhhhhh</span></TD> </TR> </TABLE> </form> </TD> </TR> </TABLE> </body> </HTML> Here's the html SENT TO IE 6:<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"><HTML> <HEAD> <title>testnetscape</title> <meta content="Microsoft Visual Studio .NET 7.1" name="GENERATOR"> <meta content="Visual Basic .NET 7.1" name="CODE_LANGUAGE"> <meta content="JavaScript" name="vs_defaultClientScript"> <meta content="http://schemas.microsoft.com/intellisense/ie3-2nav3-0" name="vs_targetSchema"> </HEAD> <body MS_POSITIONING="GridLayout"> <TABLE height="696" cellSpacing="0" cellPadding="0" width="394" border="0" ms_2d_layout="TRUE"> <TR vAlign="top"> <TD width="394" height="696"> <form name="Form1" method="post" action="testnetscape.aspx" id="Form1"><input type="hidden" name="__VIEWSTATE" value="dDwtMTU3ODAzNTQ4MDs7Ps/rt4uymImtDNzAtPeOgWAFiJM9" /> <TABLE height="377" cellSpacing="0" cellPadding="0" width="684" border="0" ms_2d_layout="TRUE"> <TR vAlign="top"> <TD width="2" height="160"></TD> <TD width="682"></TD> </TR> <TR vAlign="top"> <TD height="217"></TD> <TD><span id="Label1" style="background-color:Lime;border-color:Red;border-width:2px;border-style:solid;height:216px;width:680px;">aaaaaLabelb lahhhhhhhhhhh</span></TD> </TR> </TABLE> </form> </TD> </TR> </TABLE> </body></HTML>
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Sims |
last post by:
Hi,
if i use...
// php
$info = getenv("HTTP_USER_AGENT");
// I noticed that Mozzila and Netscape <6(?) both use the same Agent.
// so i was thinking of
if...
|
by: mark.reichman |
last post by:
First off.. Thanks to Grant Wagner for help in a previous thread
related to this one.
I am at a total loss... I have multiple fields in a form with the
same name. Lets call the fields with the...
|
by: rez |
last post by:
I find it rather frustrating that Netscape 4.x is "no longer
supported:"
http://help.netscape.com/products/client/communicator/reflib.html
Same seems true with IE.
How am I ever supposed to...
|
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...
|
by: Roger Desparois |
last post by:
Hi,
I need help : I found the simplest and most precise way to open and close
submenu layers. it works perfectly with IE, but for some odd reason NS won't
recognize it.
Can anyone tell me why...
|
by: News |
last post by:
I have a page up trying to learn how to ID a browser and other info.
http://wyght.com/warren/testPos.html
here is the code
<script type = "text/javascript">
var space = ", ";
var name...
|
by: Nathan Sokalski |
last post by:
I was testing out a page of mine that displays the information from
Page.Request.Browser. It works exactly as I expected in Internet Explorer
and Netscape 4.75 (I didn't expect much in Netscape...
|
by: Joe |
last post by:
I've been playing around with atlas for hte past couple days and its very
impressive. However the standard browser here is Netscape, specifically:
Netscape 7.02
Mozilla/5.0 (Windows; U; Windows NT...
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
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...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
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...
|
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...
|
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...
|
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: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
| |