English 中文(简体)
是否有任何方案或框架允许建立相互兼容的浏览器和编码系统?
原标题:is there a program or a framework which allows to build cross browser compatible html and css codes?

我知道有像梦想者这样的方案,但没有一项方案在建立自动交叉浏览器时取得重大成功,这些浏览器符合html和编码。

我很想知道,是否有一个框架或方案,可以用来制造更多可兼容的超声和中安会布局?

目前,我正在使用一个虚拟窗口Xp版本,在电传上运行,以检查网页如何看一E6,并人工使用“ Chrome”、“歌剧”、“歌剧”和“Sissa”。

最佳回答

What you want doesn t really exist as many have said. I do try to safe myself most of the hassle you describe by consciously using only things that have proven to be widely supported and with which I have good experiences. The perfect solution doesn t exist but here are a few things to consider that could make your life easier:

  • Use a css reset so all default browser styles are gone.
  • Force yourself to write HTML that validates against a doctype. Personally I use only XHTML 1.1 (which is very strict) but gives high compatibility in most browsers.
  • Use only fonts that are common and widely supported.
  • Limit your use of javascript to the absolutely necessary, and use jQuery where you can, as it will "often iron out differences for you". (suggested by Andrew Barber)

This way you ll end up with web sites that have a very high chance to be cross browser compatible

问题回答




相关问题
CSS working only in Firefox

I am trying to create a search text-field like on the Apple website. The HTML looks like this: <div class="frm-search"> <div> <input class="btn" type="image" src="http://www....

image changed but appears the same in browser

I m writing a php script to crop an image. The script overwrites the old image with the new one, but when I reload the page (which is supposed to pickup the new image) I still see the old one. ...

Firefox background image horizontal centering oddity

I am building some basic HTML code for a CMS. One of the page-related options in the CMS is "background image" and "stretch page width / height to background image width / height." so that with large ...

Separator line in ASP.NET

I d like to add a simple separator line in an aspx web form. Does anyone know how? It sounds easy enough, but still I can t manage to find how to do it.. 10x!

热门标签