Internet Explorer中文本框的高度正在改变 [英] Textbox height is changing in internet explorer

查看:79
本文介绍了Internet Explorer中文本框的高度正在改变的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我用php开发了一个网站.但是我的问题是在Firefox中打开我的网站时,Internet Explorer文本框的高度正在改变.所以,有什么解决办法请帮帮我.


感谢您的耐心配合.

Hi i developed one website in php. But my problem is while opening my site in Firefox and Internet Explorer Textbox height is changing. So ,is there any solution please help me.


Thank you for u r Patience.

推荐答案

您是否为文本框指定了固定大小?浏览器缩放是否相同?这取决于很多事情.

只需检查指定的大小是否适用即可.使用适用于Firefox的IE和Firebug的IE开发人员工具来查看页面元素.
您也可以仅将Javascript用于验证:
1.进行焦点事件
2.在焦点上传递文本框对象
3.在JS中,检查高度,然后将其放在警告框中.

这只是出于测试目的.
Have you specififed a fixed size for textbox? Is the browser zoom same? It depends on lots of things.

Just check that the size specified gets applied or not. Use IE developer tools for IE & Firebug for Firefox to look into page elements.
You can also use Javascript just for verification:
1. Put a on focus event
2. In on focus pass on the textbox object
3. in JS, check what is the height and put that in alert box.

This is just for testing purpose.


为文本框使用固定的高度和宽度
Use fixed height and width for the textbox


这篇关于Internet Explorer中文本框的高度正在改变的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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