I am pretty new at this, but when I saw how nice the starter kits were I had to have a look. I have the Visual Web Developer 2005 Express and then downloaded the Small Business Starter Kit. Made some small modes only color changes. When I press Ctrl+F5
it uses the Development server to display in Internet Explorer and it looks great. But if I take that URL and paste in Mozilla or Opera it is all out of position.
Has anyone else run into this? Does it display differently when using IIS?
IIS resides on the server, gets requests for a page, that page gets executed/rendered, and IIS sends the output of that process to the clients browser.
The rendered output I mentioned gets displayed in the browser, which hasn't got anything to do with the server anymore at that point. It's up to the browser to display the html, css, images, ...
To come back on your question: Mozilla and IE render things differently as they use different rendering engines so it's quite likely an application was created specifically with IE in mind and Mozilla renders it completely different.
Grz, Kris.
Read my blog | Twitter Interested in Azure, ASP.NET (MVC), jQuery, WCF, EF, MS SQL, ...
Keep the forums clean: report to the moderation team!
no you can change the CSS files so that Mozilla also renders this stuff correctly. Maybe someone already did this so you may want to use google first. ASP.NET also offers the ability to output specific stuff targeted a a specific browser that could help
you in your effort. You can also use
Control adapter to output different html for a certain control but I think it would be best to just alter the CSS files first before going that road.
Grz, Kris.
Read my blog | Twitter Interested in Azure, ASP.NET (MVC), jQuery, WCF, EF, MS SQL, ...
Keep the forums clean: report to the moderation team!
It is not just about whether the browser renders the html correctly; IIS outputs diferent html to different browsers.
In particular, IIS treats Firefox as an early low-powered browser, too dumb to understand css, instead of as this-years-model all singing all dancing version.
You can get round this, to a large extent, by including some stuff about browser capabilities in your config files.
And try including ClientTarget="UpLevel" in your <%@ Page ... >
Search the forums for Firefox and browser cap.
If a post helps to solve your problem, please click the Answer button on that post.
I'm still confused, but now I'm confused on a higher plane.
fab4les
0 Points
1 Post
Mozilla
Apr 18, 2007 12:35 PM|LINK
Hi All,
I am pretty new at this, but when I saw how nice the starter kits were I had to have a look. I have the Visual Web Developer 2005 Express and then downloaded the Small Business Starter Kit. Made some small modes only color changes. When I press Ctrl+F5 it uses the Development server to display in Internet Explorer and it looks great. But if I take that URL and paste in Mozilla or Opera it is all out of position.
Has anyone else run into this? Does it display differently when using IIS?
XIII
All-Star
182707 Points
23464 Posts
ASPInsiders
Moderator
MVP
Re: Mozilla
Apr 18, 2007 12:57 PM|LINK
Hi,
and welcome to the ASP.NET forums.
IIS resides on the server, gets requests for a page, that page gets executed/rendered, and IIS sends the output of that process to the clients browser.
The rendered output I mentioned gets displayed in the browser, which hasn't got anything to do with the server anymore at that point. It's up to the browser to display the html, css, images, ...
To come back on your question: Mozilla and IE render things differently as they use different rendering engines so it's quite likely an application was created specifically with IE in mind and Mozilla renders it completely different.
Grz, Kris.
Interested in Azure, ASP.NET (MVC), jQuery, WCF, EF, MS SQL, ...
Keep the forums clean: report to the moderation team!
Apoy
Member
2 Points
1 Post
Re: Mozilla
May 01, 2007 03:34 AM|LINK
Hi All,
So does this mean we can do nothing to make Mozilla browsers render like how IE does? Cause I am experiencing same problem also .
Thanks, Apoy
XIII
All-Star
182707 Points
23464 Posts
ASPInsiders
Moderator
MVP
Re: Mozilla
May 01, 2007 05:52 AM|LINK
Hi,
no you can change the CSS files so that Mozilla also renders this stuff correctly. Maybe someone already did this so you may want to use google first. ASP.NET also offers the ability to output specific stuff targeted a a specific browser that could help you in your effort. You can also use Control adapter to output different html for a certain control but I think it would be best to just alter the CSS files first before going that road.
Grz, Kris.
Interested in Azure, ASP.NET (MVC), jQuery, WCF, EF, MS SQL, ...
Keep the forums clean: report to the moderation team!
LockH
Contributor
2807 Points
578 Posts
Re: Mozilla
May 23, 2007 12:23 AM|LINK
It is not just about whether the browser renders the html correctly; IIS outputs diferent html to different browsers.
In particular, IIS treats Firefox as an early low-powered browser, too dumb to understand css, instead of as this-years-model all singing all dancing version.
You can get round this, to a large extent, by including some stuff about browser capabilities in your config files.
And try including ClientTarget="UpLevel" in your <%@ Page ... >
Search the forums for Firefox and browser cap.
I'm still confused, but now I'm confused on a higher plane.
LockH
Contributor
2807 Points
578 Posts
Re: Mozilla
May 23, 2007 07:28 PM|LINK
This is a link to an article about how ASP.NET/IIS doesn't send full code to Firefox,
and some differences in the results from IE and more standards-compliant browsers.
http://slingfive.com/pages/code/browserCaps/
and here is a link to a fix, You paste some XML about browser capabilities into web.config or machine.config
http://asptoday.com/Content.aspx?id=2339
Works for me (most of the time).
I'm still confused, but now I'm confused on a higher plane.
Senad Karic
Member
19 Points
4 Posts
Re: Mozilla
May 27, 2007 04:12 PM|LINK
The main problem with Opera (except IE and Firefox) is sensitivity for html.
IE does reading html with fixing some thing that are out of IE screen borders. Opera just displace that row or element.
That problems are more visible in user made components and include almost all languages (asp.net, php...).
If something is not working first check html, or css and do not use some new stuff, in other cases try to find fix.