Firefox leaving Spaces below images

28 Feb 2008
Posted by editor

This had me baffled for awhile. No matter what I did, wrapped it in divs or a table, Firefox would always leave a small space below the image. Finally discovered that this is a bug in my current version of Firefox 2.  Very frustrating because everything worked perfectly in IE. The workaround is to change the  DOCTYPE to something other than STRICT.

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

Hope this helps someone!

Trackback URL for this post:

http://www.zygmund.net/trackback/22

Tags: