|
阅读:4645回复:3
这个css有什么问题?.outer {
width:auto;
/* left column width and color */
border-left:130px solid #F5F5F5;
/* right column width and color */
border-right:170px solid #F5F5F5;
/* center column colour */
background:#FFF; }
.inner {
margin:0;
width:100%;
border-left:1px dashed #C0C0C0;
border-right:1px dashed #C0C0C0; }
/* Mozilla code */
.outer > .inner { border-bottom:1px solid /* FIXME: transparent*/; }
其中被我注释的那个transparent不能通过w3c的css检查 |
|
|
1楼#
发布于:2005-01-15 03:52
给一段使用此 CSS 的 html 代码看看?
|
|
|
|
2楼#
发布于:2005-01-15 03:52
你用的什么validator? transparent这个值应该是符合标准的:
'border-bottom' Value: [ <border-width> || <border-style> || <'border-top-color'> ] | inherit 其中: 'border-top-color', 'border-right-color', 'border-bottom-color', 'border-left-color' Value: <color> | transparent | inherit |
|
|
3楼#
发布于:2005-01-15 03:52
我的blog啦
http://wang.yuxuan.org/blog/ 去掉transparent后有一层虚框 validator是这个 http://jigsaw.w3.org/css-validator/check/referer |
|