473,386 Members | 1,754 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.

Viewing asp.net pages in different browsers

Sorry for the basic questions as I am just starting with
ASP.Net development.

1. The pages show up fine in IE running on PCs, but not
in Netscape or any other browser or even Apple-based IE.
Any suggestions?

2. What is a good place to get some basic info on
stylesheets. The pages show up in different sizes on
different computers.
Nov 17 '05 #1
4 1173
Thanks for your reply, Steve. My issue is, however, that
the major part of the page is not showing up AT ALL when
using Netscape. Is there any setting / property that
needs to be modified?

-----Original Message-----
You need to test your pages with the browsers that you choose to support.There will be some anomalies, but with some effort you can make thenecessary tweaks in most cases to get them to show up decently in all majorbrowsers.

Here's some info on stylesheets for you:
http://www.blooberry.com/indexdot/css/index.html

--
I hope this helps,
Steve C. Orr, MCSD
http://Steve.Orr.net
Developer for Hire
"Alex" <al*********@hotmail.com> wrote in message
news:08****************************@phx.gbl...
Sorry for the basic questions as I am just starting with
ASP.Net development.

1. The pages show up fine in IE running on PCs, but not
in Netscape or any other browser or even Apple-based IE.
Any suggestions?

2. What is a good place to get some basic info on
stylesheets. The pages show up in different sizes on
different computers.

.

Nov 17 '05 #2

"Alex" <al*********@hotmail.com> wrote in message
news:07****************************@phx.gbl...
Thanks for your reply, Steve. My issue is, however, that
the major part of the page is not showing up AT ALL when
using Netscape. Is there any setting / property that
needs to be modified?

Try this code in your web.config file (place between the <system.web> tags)

<browserCaps>

<case match="Gecko/[-\d]+">

browser=Netscape

frames=true

tables=true

cookies=true

javascript=true

javaapplets=true

ecmascriptversion=1.5

w3cdomversion=1.0

css1=true

css2=true

xml=true

tagwriter=System.Web.UI.HtmlTextWriter

<case match="rv:1.0[^\.](?'letters'\w*)">

version=6.0

majorversion=6

minorversion=0

<case match="^b" with="${letters}">

beta=true

</case>

</case>

<case match="rv:1(\.\d+)(\.\d)?(?'letters'\w*)">

version=7.0

majorversion=7

minorversion=0

<case match="^b" with="${letters}">

beta=true

</case>

</case>

</case>

</browserCaps>
Nov 17 '05 #3
Sounds like you may have some mismatched table element tags. IE is smart
enough to fill in the gaps; Netscape is not.

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
http://www.takempis.com
Neither a follower nor a lender be.

"Alex" <al*********@hotmail.com> wrote in message
news:07****************************@phx.gbl...
Thanks for your reply, Steve. My issue is, however, that
the major part of the page is not showing up AT ALL when
using Netscape. Is there any setting / property that
needs to be modified?

-----Original Message-----
You need to test your pages with the browsers that you

choose to support.
There will be some anomalies, but with some effort you

can make the
necessary tweaks in most cases to get them to show up

decently in all major
browsers.

Here's some info on stylesheets for you:
http://www.blooberry.com/indexdot/css/index.html

--
I hope this helps,
Steve C. Orr, MCSD
http://Steve.Orr.net
Developer for Hire
"Alex" <al*********@hotmail.com> wrote in message
news:08****************************@phx.gbl...
Sorry for the basic questions as I am just starting with
ASP.Net development.

1. The pages show up fine in IE running on PCs, but not
in Netscape or any other browser or even Apple-based IE.
Any suggestions?

2. What is a good place to get some basic info on
stylesheets. The pages show up in different sizes on
different computers.

.

Nov 17 '05 #4
As Krissy explained a way to go with server controls, that is when ASP.NEt
produces the proper output based on the client browser, is to tweak the
browser detection via web.config or machine.config. By default IE 5.5 is so
called uplevel browser and gets all the fancy stuff even if for example
Mozilla or Netscape 7 would support almost same stuff, they would still get
downlevel rendering

You can check following links for more details:
http://www.asp.net/Forums/ShowPost.a...1&PostID=86795
http://www.asp.net/Forums/ShowPost.a...1&PostID=89874

--
Teemu Keiski
MCP, Designer/Developer
Mansoft tietotekniikka Oy
http://www.mansoft.fi

AspInsiders Member, www.aspinsiders.com
ASP.NET Forums Moderator, www.asp.net
AspAlliance Columnist, www.aspalliance.com

"Krissy" <kr*******@hotmail.com> wrote in message
news:3f********@quokka.wn.com.au...

"Alex" <al*********@hotmail.com> wrote in message
news:07****************************@phx.gbl...
Thanks for your reply, Steve. My issue is, however, that
the major part of the page is not showing up AT ALL when
using Netscape. Is there any setting / property that
needs to be modified?
Try this code in your web.config file (place between the <system.web>

tags)
<browserCaps>

<case match="Gecko/[-\d]+">

browser=Netscape

frames=true

tables=true

cookies=true

javascript=true

javaapplets=true

ecmascriptversion=1.5

w3cdomversion=1.0

css1=true

css2=true

xml=true

tagwriter=System.Web.UI.HtmlTextWriter

<case match="rv:1.0[^\.](?'letters'\w*)">

version=6.0

majorversion=6

minorversion=0

<case match="^b" with="${letters}">

beta=true

</case>

</case>

<case match="rv:1(\.\d+)(\.\d)?(?'letters'\w*)">

version=7.0

majorversion=7

minorversion=0

<case match="^b" with="${letters}">

beta=true

</case>

</case>

</case>

</browserCaps>

Nov 17 '05 #5

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

Similar topics

9
by: F. Da Costa | last post by:
Hi, Does anybody know why IE5+ does *not* honour array objects (like a table) across a session? Example: Frame A contains a var tableVar which is set via form Frame B (on init) using...
3
by: Harry Whitehouse | last post by:
I've put up a few simple ASPX pages and they seem to display fine on all of the IE versions in my office, but periodically I hear from a remote user that the various text elements (distinct...
0
by: Mark | last post by:
We recently developed a .NET application in C#. It appears to work fine on a majority of browsers with subtle variation, with the exception of Explorer on a Mac. Now, I wish I could throw the...
7
by: Stephen | last post by:
Hi, I have developed an application using VS.NET, I had to test it on MAC, the page looks a little distorted? Is there a solution or VS.NET has no support on MAC? Thanks, Stephen.
31
by: TC | last post by:
I'm looking for opinions on ways to show visitors, your links will send them off-site (to another website). The following was suggested: Look at the three links under the third paragraph:...
4
by: Wladimir Borsov | last post by:
Ok, think of let say 10 different web pages on the internet. Each of them are usual html web pages. Nothing special. What I want to do now is to create a new meta resp. grouping web page which...
4
by: Paul | last post by:
I have a few pages written using only Divs and css stylesheets, however, they appear very differently in IE 6 and in Firefox 1.5.0.1. Is there a program that will take the code for one browser and...
16
by: LayneMitch | last post by:
Greetings everyone. I'm new to the webdevelopment game and I developed my first site that looks good in IE but crappy in Mozilla/Firefox. Any advice on making my site browser to browser...
3
by: Tom | last post by:
I have a PHP 4.4.7, MySql 5.0 and I.E. 7. My PHP queries the database and renders the info into html forms. Submitting the forms manipulates the data. Now, the problem is that the browsers are...
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:
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
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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,...
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.