Why wont it show the whole original picture?
<div class="test"></div>
.test {
background: url("http://i27.tinypic.com/28ktoh.jpg") no-repeat;
}
Problem is that is doesnt show anything, if you type something in the div it shows a little bit of the image. I want it to include the full picture.
Here is the working demo
You need to specify the
height
Set the height of the
div
. Thediv
will not be higher than you tell it to be or higher than it needs to be.