刚刚发现一个有趣的现象

kid_wang 2011-05-19 08:35:13
是asp.net
在<body>里设置background-color(white没问题)只要不是白色,下面
<div>里的asp:Calendar控件的网格就会没有。即ShowGridLines="true" 这个属性就会不起作用。
这是为什么呢?谁能说一说。(最后只能用background-image来代替)

<body style="background-image:url(image/Picture2.png)">
<form id="form1" runat="server">
<div align="center">
<asp:Calendar ID="Calendar1" runat="server" Width="100%" ShowGridLines="true"



...全文
143 3 打赏 收藏 转发到动态 举报
写回复
用AI写文章
3 条回复
切换为时间正序
请发表友善的回复…
发表回复
TNight 2011-05-19
  • 打赏
  • 举报
回复
这个我也没遇到过0.0
wllllll 2011-05-19
  • 打赏
  • 举报
回复
尽量在background-color中输入标准的颜色代码,比如#000000,不要输入#000
  • 打赏
  • 举报
回复
没试过,哈哈!

110,476

社区成员

发帖
与我相关
我的任务
社区描述
.NET技术 C#
社区管理员
  • C#
  • Web++
  • by_封爱
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告

让您成为最强悍的C#开发者

试试用AI创作助手写篇文章吧