不同浏览器的网站兼容性 [英] website compatibilty with diffrent browser

查看:57
本文介绍了不同浏览器的网站兼容性的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

先生您好,

我已经在ASP.NET中创建了一个网站,但是当我们将其打开到IE6和Mozilla Firefox中时,在所有浏览器中控件和文本的对齐方式都不同.

请帮帮我.
我该怎么办?

Hello sir,

I have made a website in ASP.NET but when we open it into IE6 and Mozilla Firefox the alignment of controls and text is different in all browsers.

Please help me out.
What should I do?

推荐答案

在此处查找有关以下类似问题的各种答案:浏览器兼容性应用程序 [
Look here for various answers for similar question asked here: Similar question asked here[^]

One such links: Browser Compatibility Application[^]


这种情况经常发生.避免这种情况的最佳方法是在设计网页时,不要将Position设置为Absolutely.
仅将控件拖到表的适当单元格上.
This often happen. The best way to avoid it is when you designing your webpages do not use set Position to Absolutely.
Drag your control only to proper cell of table.


这被问了很多遍了,很容易解决.
不看代码很难精确,但是一个简单的规则是在DIV中构建页面.
您可以将所有内容浮动或放置在主DIV标签内,但要确保主对象没有固定位置.而是调用CSS ref将其设置为屏幕的中心.
This is asked so many times, and is a problem easily solved.
Without seeing code it is difficult to be precise, but a simple rule is to build the pages within DIVs.
You can float or position everything inside a main DIV tag, but ensure that the main is not given a fixed position. Instead, call a CSS ref to set it to the Center of the screen.


这篇关于不同浏览器的网站兼容性的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆