I set the border for the table event_calendar tr to be red, it works in everything except IE 6 & 7. What is wrong with my CSS?
table#event_calendar tr {
Setting the border on the td is the easiest solution. But if you really really want to make the borders on By doing this, you loose the common width between the It helps when you want to draw some border on the CSS generated content like , you can always set:
tr { display:block; border-bottom:1px dotted #F00; }
. If you want to make all of them equal on width, set the display for to inline-block and set some width:
td { display:inline-block; width:20%; }
and on .
tr:before{} or tr:after{} can always help as well.