ASP.NET Web应用程序中的浏览器问题 [英] Browser Problem in asp.net web application

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

问题描述

亲爱的朋友,祝你有美好的一天!


我已经使用ASP.NET,C#,SQLSERVER 2005创建了一个Web应用程序.它运行良好.

我已在此应用程序中使用CSS.

我们的默认浏览器是Internet Explorer.我的应用程序在GOOGLE Chrome浏览器中的外观设计良好...,但在Internet Explorer中的外观却不佳.IE中禁用了圆角.

按钮的圆角texboxs在IE中不起作用...但是在CHROME中起作用.

请帮助如何设置浏览器设置.

谢谢.

Dear FRIENDS , have a good day !!


I have Created a Web application using ASP.NET,C#,SQLSERVER 2005. its running fine.

I have used CSS in this application.

our default browser is Internet explorer. My application is looking with good design in GOOGLE Chrome...,but its not looking good in Internet Explorer ROUNDED CORNERS are disabled in IE.

rounded corners for buttons texboxes are not working in IE...but its working in CHROME.

Please help how to set the browser settings.

THANKS IN ADVANCE.

推荐答案

1.除非有必要,否则切勿以px为单位指定高度或宽度.
2.永远不要给出<table cellpadding="2" ...,而是应用来自CSS的填充类.
3.如果您是客户端功能中的某个地方,并且您将<as:Scriptmanager与u一起使用,请使用
1. Never give height or width in px..unless it is necessary.
2. Never give <table cellpadding="2" ... instead apply padding class from Css.
3. If u are writtnig document.getElementById somewhere in ur Client side fucntion and if u have the <as:Scriptmanager with u then use


get. ..
即代替document.getElementById("objID");编写
get...
i.e instead of document.getElementById("objID"); write


get("objID");//为
get("objID"); //as


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

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