Duplicar posible:
Stretch and Scale a CSS image Background - With CSS onlycss imagen de fondo ajuste a DIV
Quiero configurar div div imagen de fondo (anchura: 1.000, min-altura: 710) y el tamaño de la imagen es 753 x 308 whan tratando de configurarlo imagen no se está adaptando al tamaño div ¿qué debo hacer?
.Invitation {
background-color: transparent;
background-image: url('../images/form.png');
background-repeat: no-repeat;
background-position: left top;
background-attachment: scroll;
background-size: 100%;
width: 1000px;
height: 710px;
margin-left: 43px;
}
La clase div es
.content {
clear:both;
width:1000px;
background:#e7e8e9;
background-image:url('../images/content.jpg');
background-repeat:no-repeat;
background-position:left top;
min-height:710px;
}
y el código es
<div class="content"><div class="Invitation">form goes here....</div></div>
¿Está tratando de escalar la imagen de fondo para ajustar (proporcionalmente) o estirar (distorsionar) a la DIV? – rcdmk
la imagen debe cubrir el div. –