View Single Post
Old 06-15-2007, 02:55 AM   #10 (permalink)
Costin Trifan
v7n Mentor
 
Costin Trifan's Avatar
 
Join Date: 04-13-07
Location: Romania
Posts: 3,009
iTrader: 0 / 0%
Costin Trifan is a highly respected web proCostin Trifan is a highly respected web proCostin Trifan is a highly respected web proCostin Trifan is a highly respected web proCostin Trifan is a highly respected web proCostin Trifan is a highly respected web proCostin Trifan is a highly respected web proCostin Trifan is a highly respected web proCostin Trifan is a highly respected web proCostin Trifan is a highly respected web proCostin Trifan is a highly respected web pro
zoran, if your image's size is, lets's say, 200x100 and your cell's size is 100x50 there is no way of cutting that image off to fit in the cell as a background image.

All you can do is to play around with the background-position style attribute and see what you can do.

background-image: url('main.gif');
background-repeat: no-repeat;
background-position: [bottom] [center] [left] [right] [top] [inherit];

You can play around by mixing these values :
background-position: bottom center;
or
background-position: left top;
....

hth
Costin Trifan is offline   Reply With Quote