开发者

ADJUST TABLE ROW WIDTH with 100 Percent TABLE WIDTH Style

I have a table width set 100% and I have a td custom开发者_开发技巧 class named bordered.

source code: `

table {
  border-collapse: collapse;
  border-spacing: 0;
  width: 100%;
  border: 0px;
}
tr.bordered {
   
    border-bottom: 1px solid #000;
}

I don't want the bordered tr to be 100% width also.

I want it to be just 540px width. But when I set width under tr.bordered it doesn't reflect.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜