I am having problems putting a box-shadow
on tr
s inside a table. The problem is that the box-shadow
doesn't show up at all unless the display
of all the tr
s of the table is set to block
(a 'fix' I found here: Box Shadow inside TR tag). However, when the display
of tr
s is set to block
, it makes the table cells no longer line up, crowding all to the left.
Here's a fiddle demonstrating the problem: http://jsfiddle.net/jFdEY/
You can try changing it to apply to all tr
s but that causes another problem (in the second picture below).
Here's some pictures:
The one without display: block
on all the tr
s (table displays properly but box-shadow
doesn't work)
The one with display: block
on all the tr
s (box-shadow
shows up but the table layout is broken)
So, is there a way around this?