Lee Davies Posted March 8, 2006 Share Posted March 8, 2006 Is there any way CSS could resize the background image of a table cell?Thanks in advance! Quote Link to comment https://forums.phpfreaks.com/topic/4421-resizing-a-backgroud-image/ Share on other sites More sharing options...
moberemk Posted March 8, 2006 Share Posted March 8, 2006 Nope. Not in CSS2, at least. CSS3 might offer that feature, but I doubt it. Resizing images is done either by the image tag or an image editing program, not CSS. Quote Link to comment https://forums.phpfreaks.com/topic/4421-resizing-a-backgroud-image/#findComment-15359 Share on other sites More sharing options...
Lee Davies Posted March 8, 2006 Author Share Posted March 8, 2006 Is there any other way to resize a background image? PHP?Basically I have an upload script where people upload their images, and it gets previewed in a background image, with an <img> tag overlaying another image.Now, people are uploading stupidily high file widths/heights and basically they can preview their image properly in a 300x200 cell... Quote Link to comment https://forums.phpfreaks.com/topic/4421-resizing-a-backgroud-image/#findComment-15385 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.