i have the following CSS style sheet in Site.css
.img
{
width: 1300px;
height: auto;
}
and the following codes in my default.aspx
<div class="img">
<img src="http://files.g4tv.com/images/blog/2008/06/18/633493967095957891.jpg" alt="DOMO" />
<div class="desc">Add a description of the image here</div>
</div>
how come my picture is not reflecting the width and height stated in the CSS?
You are applying class to your division. If you want to select image inside division then
Change to:
Example