ASP.Net GridView:随机渲染错误?
我在我的网站中使用了很多网格视图作为我自己的管理概述。
每个 GridView 都有一个普通边框(1px 纯黑色)。
但随机没有设置边框,这里有一个例子: http://s2.imgimg.de/ uploads/Untitledced993capng.png
第一个是外观,第二个是它应该是什么样子。每次我按 F5 按钮时,另一个边框就会消失,有时没有边框,有时所有边框都正确存在。
有什么想法吗?
我已经解决了:这是由于浏览器的变焦设置
I used much grid views for my own admin overview in my site.
Every GridView has a normal border (1px solid black).
But randomly the border is not set, here an example: http://s2.imgimg.de/uploads/Untitledced993capng.png
The first is the look, the second how it should be. Every time I hit the F5 button, another border disappers, sometimes there are no border, sometimes all borders are correctly there.
Any Ideas?
I've Solved it: It was due to the browser's zoom setting
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
哈哈哈,找到答案了:
我被坑了!
当我有带有边框的网格并放大时,每个页面加载的边框都是不同的隐藏!
放大得越多,消失的边界就越多。
某种有趣的...
Hahaha, found the anser:
I was zommed in!
When I have the grid with Borders, and zoom in, every pageload the borders are different hidden!
The more you zoom in, the more borders are away.
Some kind of funny...
你调查过 html & 吗? CSS?它可能看起来像一些未关闭的标签,或者有时如果您关闭像这样的
标签,则页面显示不正确。
Did you investigate html & css ? It might look like some not closed tag or sometimes it happens that if you close tag like this
<div />
then pages display incorrectly.