这个css有什么问题?

阅读:4137回复:3
2005-01-15 03:52
写私信
楼主#
.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检查
2005-01-15 03:52
写私信
1楼#
给一段使用此 CSS 的 html 代码看看?
最近忙,有事 email 我,rongjunmu _at_ gmail 。com,谢谢。
加入我们,共同建设 Mozilla 中文社区
2005-01-15 03:52
写私信
2楼#
你用的什么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
2005-01-15 03:52
写私信
3楼#
我的blog啦
http://wang.yuxuan.org/blog/
去掉transparent后有一层虚框

validator是这个
http://jigsaw.w3.org/css-validator/check/referer