Jump to content


This topic is now archived and is closed to further replies.


Image/Background Dimentions

Recommended Posts

I've checked out a few tutorials and couldn't find anthing nit he search, But
I have a background image in a table. Is there anyway of setting the dimentions
of a background image. Becasue...
I know that width:2; or width:2%; And height:0; etc. does the width and height
etc. just wodnered how to do this with image backgrounds.

Share this post

Link to post
Share on other sites
No.  The 'size' of the background image is never more than the size of the element to which it's applied, i.e. all that shows is what will fit.  If the image is smaller than the element, the image will repeat (unless you have used appropriate CSS to define the background image style).

Share this post

Link to post
Share on other sites


Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.