Log in

View Full Version : align of background in cell



marringi
04-13-2008, 06:35 PM
Hello,
I'm looking to be able to use a picture as background in a table cell. The thing is I want it to appear ones horizontal but appear all the way down to the end of the cell vertical. Then I would like it to be loaded from the right side of the cell. Is this possible?

boogyman
04-14-2008, 12:34 PM
place this in you css style for that table cell



td#cellId {
background: #hexadecimal url('/path/to/image.gif') repeat-y top right;
}


where
cellId is the unique identifier of the table cell you want this affect to be done in .... and
hexadecimal is a html color code similar to that of the image color. this allows your page to flow consistently in case for some reason the image does not show