No DTD on your document. That makes IE go in quirks mode. Add this at the top of your html:
Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
and make sure these are always the first lines in your html.
Also, you have this as IE interpreted code:
Code:
<img width="250" height="1" src="http://www.sitepoint.com/forums/images/image2.jpg"/>
where red means wrong ; ),
even though your mark up is missing height value:
Code:
<img src="images/image1.jpg" height="" width="250"/>
As maya said, put proper width AND height values on your images, or don't put any at all.
Bookmarks