Saturday, 15 August 2015

css - Border radius not showing -



css - Border radius not showing -

http://thc-cup.ucoz.com/forum/2-1-1

after can see, left has radius @ content background , border, left 1 not! managed 1 in left after adding div style: display:inline-block; messes box , moves under left block. since forum (my link) can't edit html, can edit css of forum.

here style of blocks:

.posttdinfo { //left block display: inline-block; margin: 0px 0px 0px 35px; padding: 1px; border: 1px solid #cfcfcf; background: #e0e0e0; border-radius: 5px; } .posttdmessage { //right block margin: 0px 0px 0px 0px; padding: 25px; border: 1px solid #cfcfcf; background: #e0e0e0; border-radius: 25px;

i searched day solution can't seem find one. there way of changing css block accepts border radius?

edit: first reply didn't solve problem.

the problem you're working on td element, has display property default set table. either add together display: block; .posttdmessage, or, if causes problems, add together <div> element straight within table cell , style rounded borders instead.

css border css3

No comments:

Post a Comment