
So while this is technically API related, it deals more with the CSS side of things, so I thought it'd be more prudent to put it over here. Feel free to move it if it's not relevant enough. So I'm attempting to style some API messages that are output to the chat. This is my code: //adapted from Ciorstaidh's Faerun Calendar css
var divstyle = 'style="width: 189px; border: 1px solid #353535; background-color: #f3f3f3; padding: 5px; color: #353535;"'
var tablestyle = 'style="text-align:center; margin: 0 auto; border-collapse: collapse; margin-top: 5px; border-radius: 2px"';
var headstyle = 'style="color: #f3f3f3; font-size: 18px; text-align: left; font-variant: small-caps; background-color: #353535; padding: 2px; font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;"';
var cellstyle = 'style="border: 1px solid #353535; border-radius: 2px;"';
var rowstyle = 'style="border: 1px solid #353535"';
sendChat(who, '<div ' + divstyle + '>' + //--
'<div ' + headstyle + '>Combat</div>' + //--
'<table ' + tablestyle + '>' + //--
'<tr><th ' + cellstyle + '> ' + AName + '</th><th '+ cellstyle +'>' + DName + '</th></tr>' + //--
'<tr><td ' + cellstyle + '> Dmg: ' + DmgA + '</td><td ' + cellstyle + '> Dmg: ' + DmgB + '</td></tr>' + //--
'<tr><td ' + cellstyle +'> Hit: ' + (HitA - AvoB) + '</td><td ' + cellstyle + '> Hit: ' + (HitB - AvoA) + '</td></tr>' + //--
'<tr><td ' + cellstyle +'> Crit: ' + CritA + '</td><td ' + cellstyle + '> Crit: ' + CritB + '</td></tr>' + //--
'</table>' + //--
'</div>'
); Which looks like this: Now, I want to round the corners of the internal table, which I have attempted to do with this- border-radius: 2px; But trying this on neither the table itself nor the individual tables seems to work. I even tried manually editing the styles of each cell via Inspect Element, but that didn't work either. Basically, is there some possible way to round the corners of a border-collapsed table using inline CSS?