Does anyone know how to style tr as we like?
I\'ve used border-collapse on table, after that tr\'s can display 1px solid border I give them.
However, when I\
I found that adding border-radius to tables, trs, and tds does not seem to work 100% in the latest versions of Chrome, FF, and IE. What I do instead is, I wrap the table with a div and put the border-radius on it.
Content
.tableWrapper {
border-radius: 4px;
overflow: hidden;
}
If your table is not width: 100%
, you can make your wrapper float: left
, just remember to clear it.
- 热议问题