If I have:
#logo {
width: 400px;
height: 200px;
}
then
<img id="logo" src="logo.jpg"/>
will stretch to fill that space. I want the image to stay the same size, but for it to take up that much space in the DOM. Do I have to add an encapsulating <div>
or <span>
? I hate adding markup for styling.