<style> table.cal, tr, td { padding:4px; } tr.fish { background-color:#F3F6FF; } td.mon span { background-color:#557766; color:#FFFFFF; display:block; } </style> <table class="cal"> <tbody> <tr class="fish"> <td class="mon"><span>1</span></td> <td class="mon">2</td> <td class="mon">3</td> </tr> <tr> <td class="mon">4</td> <td class="mon"><span>5</span></td> <td class="mon">6</td> </tr> <tr class="fish"> <td class="mon">7</td> <td class="mon">8</td> <td class="mon"><span>9</span></td> </tr> </tbody> </table>
ネタ元