I search a lot info about height:auto
,but I didnt find a solution for my problem. I need a full width image with dynamic height ,but that doesn't work :( Anyone can help!?
HTML:
<div id="roster">
<div class="image"></div>
</div>
CSS
#roster{}
#roster .image{
background-image:("http://nhlawyer.net/wp-content/uploads/header-image-2.jpg");
width:100%;
height:auto;
}
There is my jsFiddle