title: Strict DOCTYPE affecting spacing between images
body: <p>I am having problems with my image spacing when I switched to XHTML Strict DOCTYPE.</p>
  
  <p>The following code - which uses Yahoo's reset stylesheet to kill off all default browser padding - leaves a gap of about 4 pixels between the two images below but ONLY when I use the strict doctype. Why is this?</p>
  
  <p>It is only a problem in Chrome and Firefox. IE doesn't show a single pixel between the two images.</p>
  
  <pre><code>&lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"&gt;
  &lt;html xmlns="http://www.w3.org/1999/xhtml"&gt;
  
  &lt;head&gt;
      &lt;link rel="stylesheet" type="text/css" 
       href="http://yui.yahooapis.com/2.6.0/build/reset/reset-min.css"&gt;
  &lt;/head&gt;
  
  &lt;body&gt;
  
  &lt;div&gt;&lt;img src="http://www.catfacts.org/cat-facts.jpg" border="0"/&gt;&lt;/div&gt;
  &lt;div&gt;&lt;img src="http://www.catfacts.org/cat-facts.jpg" border="0"/&gt;&lt;/div&gt;
  
  
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>