Click to See Complete Forum and Search --> : Specify size of background image?


tobyw_1969
05-12-2003, 09:18 AM
Is it possible to specify the size of a background image in a table cell?

I've been told you can't, but I see so many images which seem to have text over them, and which are positioned and sized perfectly - how is it done?

I want to use background images in tables, but re-sizing small 'spacer' images to keep download time fast. Is there a way to do this?

AdamGundry
05-12-2003, 09:46 AM
You shouldn't really use tables for layout - use <div> tags instead.

To control the background in detail, use CSS background properties:
http://www.w3.org/TR/CSS2/colors.html#propdef-background

Adam