A small css question.
I want the following table to use table class = a class name to implement the following sentiment effects:
That is, I want to define a class in css and set cellspacing = 1 bgcolor = # In D0DDE5 and td
Bgcolor = # FFFFFF is written to a class in css. Then I can implement it with table class,
Please teach me.
<Table width = "100%" cellspacing = "1" bgcolor = "# D0DDE5"> <tr> <td bgcolor = "# FFFFFF"> I want to set cellspacing = 1 bgcolor in table = # bgcolor = # FFFFFF in D0DDE5 and td are written to a class in css, how to Write? </td> </tr> </table>
[Ctrl + A select all Note: If you need to introduce external Js, You need to refresh it to execute]
<Style type = "text/css">. tablecss {border: 1px solid # D0DDE5 ;} </style> <table width = "100%" class = "tablecss"> <tr> <td bgcolor = "# FFFFFF"> I want to set cellspacing = 1 bgcolor = # bgcolor = # FFFFFF in D0DDE5 and td are written to a class in css, how to Write? </td> </tr> </table>
[Ctrl + A select all Note: If you need to introduce external Js, You need to refresh it to execute]