Is it possible to set the size of the background image with CSS?
I want to do something like:
background: url(\'bg.gif\') top repeat-y;
background-si
For example:
Background image will always fit to container size (width 100% and height 100px).
Cross-browser CSS:
.app-header {
background: url("themes/default/images/background.jpg") no-repeat;
-moz-background-size: 100% 100px;
-webkit-background-size: 100% 100px;
-o-background-size: 100% 100px;
filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src = "themes/default/images/background.jpg", sizingMethod = 'scale');
background-size: 100% 100px;
}