良好的跨浏览器ASP.NET网站开发资源(Good resources for cross browser ASP.NET website development)

编程入门 行业动态 更新时间:2024-10-24 08:29:21
良好的跨浏览器ASP.NET网站开发资源(Good resources for cross browser ASP.NET website development)

有没有人知道有什么好的资源来学习ASP.NET中的跨浏览器开发? 具体来说,导致页面在FF / Chrome / IE中看起来不同的是什么,开发过程中有哪些问题,如何在新项目中解决此问题等。

Does anyone know of any good resources for learning about cross-browser development in ASP.NET? Specifically, what causes a page to look different in FF/Chrome/IE, what are the gotchas when developing, how can this issue be addressed in a new project etc.

最满意答案

我没有发现这类信息的具体资源。 一般来说,我在遇到错误时找到了这些信息。 但第一步是至少学习不同浏览器使用的渲染引擎的高级概述。 他们都有自己特定的“怪癖”,因此存在像http://www.quirksmode.org/这样的网站。

与不同引擎有关的另一件事是理解开发框模型,以及CSS在每个浏览器(以及不同版本的浏览器)中的处理方式。 如果你需要非常担心浏览器之间的像素完美匹配,那么你将会有很多乐趣。

与此相关的另一件事是看看CSS Reset Sheets。 这使得不同浏览器之间的环境非常相似。 这使得开发变得更容易,但是从布局的角度来看,仍然不是万无一失的。

There's really not a specific resource I've found for that type of information. Generally I've found the information as I encounter the errors. But the first step is learning at least a high level overview of the rendering engines used by the different browsers. They all have their own particular "quirks", thus why a site like http://www.quirksmode.org/ exists.

Another thing related to the different engines is understanding the box model of development and how CSS is treated differently with it in each browser (and the different versions of the browsers). If you need to be extremely worried about pixel perfect matching between the browsers, you're going to have tons of fun.

Related to that, another thing is to look in CSS Reset Sheets. This gets the environment between the different browsers fairly similar. This makes development easier, but still not foolproof from messing up layout.

更多推荐

本文发布于:2023-07-04 16:55:00,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1026881.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:网站开发   浏览器   资源   NET   Good

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!