473,383 Members | 1,868 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,383 software developers and data experts.

Viewing your site in Netscape and Mozilla

Hi everyone,

I just wrote a complete shopping cart using DataGrids...etc with capability
to edit each item etc. However, the textboxes become their default size
when viewed in Netscape/Mozilla. I thought VisualStudio .Net automatically
takes care of that.

Any suggestions?
Thanks
Maz.
Nov 18 '05 #1
4 1144
the current version has poor support for any browser other than IE. if the
browser is not IE, style (width and height) are not rendered. also client
validation is only supported with IE. you can get better results by forcing
uplevel for this browsers. the next release of asp.net supports html 4.0 and
will have better browser support.

in page load:

if ("netscape|gecko|opera".IndexOf(this.Request.Brows er.Browser.ToLower())
=0 )
this.ClientTarget = "Uplevel";

-- bruce (sqlwork.com)

"Maziar Aflatoun" <ma***@rogers.com> wrote in message
news:Vh********************@twister01.bloor.is.net .cable.rogers.com... Hi everyone,

I just wrote a complete shopping cart using DataGrids...etc with capability to edit each item etc. However, the textboxes become their default size
when viewed in Netscape/Mozilla. I thought VisualStudio .Net automatically takes care of that.

Any suggestions?
Thanks
Maz.

Nov 18 '05 #2

I currently work on a website that is multiplatform ( it is daily tested
with SUSE LINUX with firebird & conqueror , Windows with IE 5.5 & IE 6.0
& Firefox )

http://hbase.nohausystems.nl/Login.aspx?visitor=1
It has lots of customized styles and javascript functions

i did not write a single line of double code for it ( if mozilla then
okay you get the point )

It is just pure Javascript and valid HTML / CSS
You just need to spend some time figuring it out , all information can be
found online

http://www.w3.org/ and developer.irt.org are now 2 of my favorite websites

M. Posseth [MCP]

"bruce barker" <no***********@safeco.com> wrote in message
news:eA**************@TK2MSFTNGP10.phx.gbl...
the current version has poor support for any browser other than IE. if the
browser is not IE, style (width and height) are not rendered. also client
validation is only supported with IE. you can get better results by forcing uplevel for this browsers. the next release of asp.net supports html 4.0 and will have better browser support.

in page load:

if ("netscape|gecko|opera".IndexOf(this.Request.Brows er.Browser.ToLower())
=0 )

this.ClientTarget = "Uplevel";

-- bruce (sqlwork.com)

"Maziar Aflatoun" <ma***@rogers.com> wrote in message
news:Vh********************@twister01.bloor.is.net .cable.rogers.com...
Hi everyone,

I just wrote a complete shopping cart using DataGrids...etc with

capability
to edit each item etc. However, the textboxes become their default size
when viewed in Netscape/Mozilla. I thought VisualStudio .Net

automatically
takes care of that.

Any suggestions?
Thanks
Maz.


Nov 18 '05 #3
OK, how did you set the widths on text boxes then? I found that the "style"
attribute is omitted on pages sent to Mozilla or Firebird.

Jon

"M. Posseth" <mi*****@nohausystems.nl> wrote in message
news:ca**********@reader08.wxs.nl...

I currently work on a website that is multiplatform ( it is daily tested
with SUSE LINUX with firebird & conqueror , Windows with IE 5.5 & IE 6.0 & Firefox )

http://hbase.nohausystems.nl/Login.aspx?visitor=1
It has lots of customized styles and javascript functions

i did not write a single line of double code for it ( if mozilla then
okay you get the point )

It is just pure Javascript and valid HTML / CSS
You just need to spend some time figuring it out , all information can be
found online

http://www.w3.org/ and developer.irt.org are now 2 of my favorite websites
M. Posseth [MCP]

"bruce barker" <no***********@safeco.com> wrote in message
news:eA**************@TK2MSFTNGP10.phx.gbl...
the current version has poor support for any browser other than IE. if the
browser is not IE, style (width and height) are not rendered. also client validation is only supported with IE. you can get better results by

forcing
uplevel for this browsers. the next release of asp.net supports html 4.0

and
will have better browser support.

in page load:

if

("netscape|gecko|opera".IndexOf(this.Request.Brows er.Browser.ToLower())
>=0 )

this.ClientTarget = "Uplevel";

-- bruce (sqlwork.com)

"Maziar Aflatoun" <ma***@rogers.com> wrote in message
news:Vh********************@twister01.bloor.is.net .cable.rogers.com...
Hi everyone,

I just wrote a complete shopping cart using DataGrids...etc with

capability
to edit each item etc. However, the textboxes become their default size when viewed in Netscape/Mozilla. I thought VisualStudio .Net

automatically
takes care of that.

Any suggestions?
Thanks
Maz.



Nov 18 '05 #4
Check out this link. It uses browserCaps to force ASP.NET to NOT render
Firefox as a downlevel browser.

http://tinyurl.com/4sn36

Fixed my problems.

Greg
"Jonathan Eric Miller" <je******@uchicago.edu> wrote in message
news:u6**************@TK2MSFTNGP12.phx.gbl...
OK, how did you set the widths on text boxes then? I found that the "style" attribute is omitted on pages sent to Mozilla or Firebird.

Jon

"M. Posseth" <mi*****@nohausystems.nl> wrote in message
news:ca**********@reader08.wxs.nl...

I currently work on a website that is multiplatform ( it is daily tested
with SUSE LINUX with firebird & conqueror , Windows with IE 5.5 & IE

6.0
& Firefox )

http://hbase.nohausystems.nl/Login.aspx?visitor=1
It has lots of customized styles and javascript functions

i did not write a single line of double code for it ( if mozilla then
okay you get the point )

It is just pure Javascript and valid HTML / CSS
You just need to spend some time figuring it out , all information can be
found online

http://www.w3.org/ and developer.irt.org are now 2 of my favorite

websites

M. Posseth [MCP]

"bruce barker" <no***********@safeco.com> wrote in message
news:eA**************@TK2MSFTNGP10.phx.gbl...
the current version has poor support for any browser other than IE. if the browser is not IE, style (width and height) are not rendered. also client validation is only supported with IE. you can get better results by

forcing
uplevel for this browsers. the next release of asp.net supports html
4.0 and
will have better browser support.

in page load:

if

("netscape|gecko|opera".IndexOf(this.Request.Brows er.Browser.ToLower()) >>=0 )
this.ClientTarget = "Uplevel";

-- bruce (sqlwork.com)

"Maziar Aflatoun" <ma***@rogers.com> wrote in message
news:Vh********************@twister01.bloor.is.net .cable.rogers.com...
> Hi everyone,
>
> I just wrote a complete shopping cart using DataGrids...etc with
capability
> to edit each item etc. However, the textboxes become their default size > when viewed in Netscape/Mozilla. I thought VisualStudio .Net
automatically
> takes care of that.
>
> Any suggestions?
> Thanks
> Maz.
>
>



Nov 18 '05 #5

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

Similar topics

1
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...
1
by: D. Lee Christopher | last post by:
Can anyone point me to a good tutorial for creating a site-level search applet? I am trying to create a virtual catalog of sorts, and I would like to be able to search the catalog and have the...
4
by: Al Sashun | last post by:
Hi There, I'm not sure if this is the right place, but I'm after a script or program that will provide me with site visitors email address's, the only reason being my clients would like to see who...
15
by: Peter Bremer | last post by:
Hi all, I've written this little piece of code, which doesn't seem to work in Mozilla 1.5. I haven't tried it on other Gecko browsers, but I've found some indication that Netscape 6+ has the...
3
by: Daniel Borden | last post by:
Big hello to my fellow programmers - I'm new to javascript and PHP and I am wondering if there is a method or function to capture a 404 error in the event a particular html file cannot be found. I...
4
by: George Hester | last post by:
My site is all one color basically. But I'd like to give the user the ability to make the site a color of their choice. I have it set up so that they can choose the color of the logon page and save...
8
by: Bijoy Naick | last post by:
It seems like the BBC sports site is able to get past popup blockers.. For eg.. http://news.bbc.co.uk/sport1/hi/cricket/default.stm. Click on the Video icon under "Watch and Listen" - right hand...
1
by: Maziar Aflatoun | last post by:
Hi everyone, I just wrote a complete shopping cart using DataGrids...etc with capability to edit each item etc. However, the textboxes become their default size when viewed in Netscape/Mozilla....
10
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...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
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: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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
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
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: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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...

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.