<html xmlns:v>
<head>
<style>
v\:*{behavior: url(#default#VML);}
.a
{position:absolute;left:20px;top:50px;width:200px;height:140px;
}
</style>
</head>
<body>
<v:roundRect class="a" FillColor="#e8e8e8" Filled="T" />
</body>
</html>
他的默认边框颜色太重了,我想让它换个颜色,在哪里加属性?
lzp4881 谢谢,你的代码可以,但是我还想知道的是,这段代码的其他css属性都可以放进“a”中,然后用<v class="a"></v>调用,为什么只有背景的颜色和边框的颜色属性(就是那个 fillcolor=……)放入“.a”中,然后调用时没有作用呢?
这是css 的圆角代码,如何改变它的边框颜色?
答案:3 悬赏:70
解决时间 2021-02-04 14:13
- 提问者网友:涼初透
- 2021-02-04 07:35
最佳答案
- 二级知识专家网友:瘾与深巷
- 2021-02-04 07:50
<v:roundRect class="a" FillColor="#e8e8e8" strokeColor="#FF0000" Filled="T" />
-----------------
a只是定义大小等,它的颜色,边框样式等是用VML来定义的,VML有它固定的属性。如:
strokeweight 0.75pt=1px number 描述图形的边框粗度
strokecolor black color 描述图形的边框颜色
stroked true boolean 描述图形是否使用边框
fillcolor white color 描述图形的背景颜色
filled true boolean 描述图形是否使用背景
print true boolean 描述图形是否允许被打印机打印
coordsize 1000,1000 Vector2D 暗示图形与容器空间的大小比例
-----------------
a只是定义大小等,它的颜色,边框样式等是用VML来定义的,VML有它固定的属性。如:
strokeweight 0.75pt=1px number 描述图形的边框粗度
strokecolor black color 描述图形的边框颜色
stroked true boolean 描述图形是否使用边框
fillcolor white color 描述图形的背景颜色
filled true boolean 描述图形是否使用背景
print true boolean 描述图形是否允许被打印机打印
coordsize 1000,1000 Vector2D 暗示图形与容器空间的大小比例
全部回答
- 1楼网友:星痕之殇
- 2021-02-04 10:18
<v:roundRect class="a" FillColor="#e8e8e8" Filled="T" />
改#e8e8e8
- 2楼网友:开心就好
- 2021-02-04 08:55
我要举报
如以上问答内容为低俗、色情、不良、暴力、侵权、涉及违法等信息,可以点下面链接进行举报!
大家都在看
推荐资讯