celltable - howto use an image as celltable background (or row background)

290 views Asked by At

I need to use an image as table background (as entire row background will works). I tried this:

.cellTableOddRow {
    background-image: url(image.jpg);
    background-repeat: repeat-y;
    width: 300px;
}

but it puts the image in each cell. Is this possible?

Thx a lot!

1

There are 1 answers

0
david On

It was really simple:

The image should be in 'cellTableWidget'

.cellTableWidget {
    background-image: url(../img/bgtablas.jpg);
    background-repeat: repeat-y;
    width: 300px;
}

and the row must to 'delete' its style:

.cellTableOddRow {
    background: none;
    background-image: none;
}