Possible duplicate:
Stretch and scale the image with CSS. CSS only
I want to set the div div of the image div (width: 1000, min-height: 710), and the image size is 753 x 308 that I'm trying to set its image is not suitable for the size of the div, what should I do?
.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; }
Class div
.content { clear:both; width:1000px; background:#e7e8e9; background-image:url('../images/content.jpg'); background-repeat:no-repeat; background-position:left top; min-height:710px; }
and code
<div class="content"><div class="Invitation">form goes here....</div></div>
Rekha prabhu
source share