Table-Background color

I have created a table in vaadin and I need to set the background color…This is my code…



@IMPORT url(“…/reindeer/styles.css”);

.v-table {
background-color: red;


You should have more luck with setting the background color of .v-table-row, .v-table-row-odd and .v-table-body, where the last one is for the empty part that gets left over if your page length is larger than the amount of rows :slight_smile:

Ok. .v-table-body is worked for me but it changes the background color of Allof my 3 Tables. I want Table A as blue backgroun, Table B as green Background and Table C as yellow background.

So plz any body told me how to solve this issue

Answered in
this thread

Please don’t post multiple copies of a question.