background image resizes to fit container
December 12, 2007 - 11:16pm — dicephalousim
| Project: | pngFix |
| Version: | 1.1 |
| Component: | Code |
| Category: | bug report |
| Priority: | critical |
| Assigned: | Unassigned |
| Status: | active |
Description
The background image stretches or squishes to fit the element it is applied to.
For example, say you have an image 100px by 100px that is set it as the background of a div that is 200px by 200px, it will stretch to fit the div. Likewise, if you set the div to a smaller size than the background image, it will squish to fit inside.
