Web应用程序必须支持所有浏览器 [英] Web application Must Support all the Browsers

查看:98
本文介绍了Web应用程序必须支持所有浏览器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

尊敬的所有Rounders/Experts,

我已经使用Asp.net,C#,SqlServer 2005创建了一个Web应用程序.
最后,我将这个Web应用程序托管在Windows Server 2003中,它在我的系统中运行良好....因此,我的系统显示设置为Width-1440,Height900.我正在使用VISTA.
但是,当其他用户从他们的系统中打开时...显示设置不好MENU在向上和向下显示.

我的Web应用程序应支持所有浏览器,例如IE 7,IE8,Chrome,Firefox等.

请任何人都能对此浏览器的支持给予完美的体现.

在此先感谢.

Dear All Rounders / Experts,

I have Created a Web Application using Asp.net, C#, SqlServer 2005.

Finally, i have hosted this web application in Windows Server 2003, its running fine in my System....So, my system display setting are Width-1440, Height 900. am using VISTA.

But , when the other users opens from their system...display settings are not good MENUS ARE DISPLAYING UP and Down.

My Web Application should support all the browsers, Such as IE 7 , IE8, Chrome,Firefox....Etc.

Please anybody can give the perfect soultion for this Browser supporting.

Thanks in Advance.

推荐答案


这是CSS问题,
首先,不要在CSS中放置固定大小的高度"或宽度",并且始终使用DIV 而不是使用表
最好的问候
M.Mitwalli
Hi ,
It''s CSS issues ,
First don''t put Fixed Size Height or width in your CSS and Always use DIV rather than using Table
Best Regards
M.Mitwalli


这不是您的后端C#东西的问题,这完全是CSS样式的问题.关于如何支持较旧的浏览器的信息很多,例如,只需对IE6兼容性进行一些搜索即可.

至于支持所有浏览器,除非您不想使用任何样式而只使用纯HTML,否则这是不可能的.时期.严重的是,地下室中可能有人在使用LYNX.

祝您好运-支持较旧的浏览器需要进行大量工作.如果可能的话,我建议您请其他用户"升级他们的浏览器.

我还不知道,无法再告诉您.也许有了更多信息,我可以为您提供更具体的答案.
This is not a problem with your backend C# stuff, it''s entirely a problem with your CSS styling. There''s a wealth of information on supporting older browsers out there - just do some searching on IE6 compatibility, for example.

As for supporting all the browsers, unless you want to stick with no styling and just straight HTML, it''s impossible. Period. Seriously, there''s probably someone in a basement somewhere using LYNX.

I wish you luck - supporting older browsers takes an enormous amount of work. I would suggest that you ask your "other users" to upgrade their browsers, if possible.

I don''t know enough to tell you any more. Perhaps with some more information, I could give you a more specific answer.


就像其他所有人所说的那样,您必须在样式(CSS)和布局中考虑每个浏览器.每个浏览器对HTML和CSS标准的解释都有所不同.

涉及很多工作,您要做多少取决于要支持的浏览器和版本.

支持这些浏览器的确切工作完全取决于您的页面布局,样式和要求.没有人能够确切告诉您在论坛环境中的操作.

至于针对此问题的完美解决方案,没有这样的事情!

欢迎来到Web开发的欢乐世界!
Like everyone else said, you have to take each browser into account in your styling (CSS) and layout. Every brwoser interprets the HTML and CSS standards a bit differently.

There''s a lot of work involved and how much you do depends on which browsers and versions you want to support.

Exactly what you do to support these browsers depends entirely on your page layout, styling and requirements. Noone is going to be able to tell you exactly what to do in a forum environment.

As for a PERFECT solution to this problem, there''s no such thing!

Welcome to the joys of web development!


这篇关于Web应用程序必须支持所有浏览器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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