html - How to replace table attributes? -


well have following html:

<table cellspacing="0" cellpadding="0" width="100%"> 

so validated html document , found these obsolete. if remove them website alignment won't work want. need enough way replace attrbutes css code.

    <style type="text/css">         .table1_style         {             border-collapse: collapse;             border-spacing: 0px;         }         .table2_style         {             width: 100%;         }     </style>  <table class="table1_style"> <tr> <td> </td> </tr> </table> <table class="table2_style"> <tr> <td> </td> </tr> </table> 

Comments

Popular posts from this blog

php - Calling a template part from a post -

Firefox SVG shape not printing when it has stroke -

How to mention the localhost in android -