终于解决可恶的FireFox DataGrid的黑线条 高兴

来源:互联网 发布:如何查看安卓源码 编辑:程序博客网 时间:2024/05/14 02:57

 FireFox DataGrid的黑线条

 

太晕了,以前遇到过一直没解决,今天认真查了下,确实,,只要设置GridLines=None  就OK了

 

Google搜索,文章原文

 

Rules="all" in Datagrid breaks Firefox
If you don't know any better, if you slap a datagrid on your form, it will look great in IE, but open it in firefox, and you get these black gridlines.  Looking at the HTML I saw a rules=”all” tag.  A quick search on google found that you must set the datagrid's GridLines to none to get ride of it.
 

网址: http://scottelkin.com/archive/2004/11/08/266.aspx

原创粉丝点击