css3 – How to round table edges (border-radius)


    <table class="table_block">
                <td>Black, White</td>
                <td>Red, Blue, Grey</td>

You need to round off the edges of the entire table. I didn’t try to, which I didn’t apply to … I tried to round off the first td, I tried with tr. The whole table, of course, does not apply. In general, nothing is wrong. Help me please


And in fact for cross-browser like this :):

.table_block {
  border-radius: 10px;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  -khtml-border-radius: 10px;
  border: 1px solid #000;
  display: block;

Although my answer is probably out of date.

Scroll to Top