Last post May 27, 2007 12:12 PM by Senad Karic
Apr 18, 2007 08:35 AM|fab4les|LINK
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?
Apr 18, 2007 08:57 AM|XIII|LINK
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.
Apr 30, 2007 11:34 PM|Apoy|LINK
So does this mean we can do nothing to make Mozilla browsers render like how IE does? Cause I am experiencing same problem also .
May 01, 2007 01:52 AM|XIII|LINK
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.
May 22, 2007 08:23 PM|LockH|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.
May 23, 2007 03:28 PM|LockH|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.
and here is a link to a fix, You paste some XML about browser capabilities into web.config or machine.config
Works for me (most of the time).
May 27, 2007 12:12 PM|Senad Karic|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.