Site icon Catch Themes

Can't change table borders to none in custom CSS

My site isn't live yet so I can't provide a link. Here's my table html: <table style="height: 467px;" border="0" width="1138" cellspacing="0" cellpadding="0"> <tbody> <tr> <td width="50"></td> <td width="375"> <h1>services:</h1> </td> <td></td> <td width="375"> <h1>skills:</h1> </td> <td width="50"></td> </tr> <tr> <td valign="top"></td> <td valign="top"> </td> <td valign="top"></td> <td valign="top"> </td> <td valign="top"></td> </tr> </tbody> </table> Here's my custom css: table { border-top: none; border-left: none; font-weight: bold; margin: 0 0 2em; width: 100%; } th { border-bottom: none; border-right: none; color: #666; font-weight: 700; padding: 8px; text-transform: uppercase; } td { border-bottom: none; border-right: none; padding: 8px; }
Exit mobile version