Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/html/69.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/7/css/33.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Html mvc显示字段-外部文本写入_Html_Css_Asp.net Mvc_Vb.net_Razor - Fatal编程技术网

Html mvc显示字段-外部文本写入

Html mvc显示字段-外部文本写入,html,css,asp.net-mvc,vb.net,razor,Html,Css,Asp.net Mvc,Vb.net,Razor,我正在为一家小企业开发一个基于MVC的网页。 我以前从未遇到过这个。。。 在我的笔记本电脑屏幕和外部显示器上,格式设置很好,但是办公室的一位同事告诉我,文本只是在-->方向上从框中写出来,甚至添加了一个水平滚动条 ---------------编辑--------------------- 问题已解决 感谢@Geeo 原来问题是IE兼容模式-设置为IE7,将其更改为IE9似乎可以解决问题。这很可能是css问题,因此如果您也可以提供css或JSFIDLE测试页面,您可以为显示字段添加css代码吗,

我正在为一家小企业开发一个基于MVC的网页。 我以前从未遇到过这个。。。 在我的笔记本电脑屏幕和外部显示器上,格式设置很好,但是办公室的一位同事告诉我,文本只是在-->方向上从框中写出来,甚至添加了一个水平滚动条

---------------编辑--------------------- 问题已解决

感谢@Geeo
原来问题是IE兼容模式-设置为IE7,将其更改为IE9似乎可以解决问题。

这很可能是css问题,因此如果您也可以提供css或JSFIDLE测试页面,您可以为
显示字段添加css代码吗,如果有任何差异,则显示带边框的字段
?他是否使用Internet Explorer?哪个版本?他在使用某种兼容模式吗?(在IE内按F12,确保浏览器模式和文档模式未设置为某些旧的兼容模式)他的兼容模式已设置为IE7!愚蠢的我,这似乎奏效了-非常感谢伙计们@Geeo