Stylegala Forums » Forums list » Problem solving
the IE <img> whitespace bug.
the IE <img> whitespace bug.
| Author | Message |
|---|---|
Lost_User
|
forgive me if this has been asked before, ive searched the forums and not found the answer.
I'm aware of the IE PC issue of adding a few pixels of whitespace after an img tag. and i'm aware of the fix for this issue of putting everything on the same line of code . Is there a better way to deal with this issue? The only other fix i can figure is adding : img { display: block; } to the css, which fixes the issue but creates a whole new mess. Is there a workaround that doesnt involve messing up your source code formatting? Thanks! Andy |
| Sponsor | |
Lost_User
|
you can try using different dtds.
xhtml transitional instead of strict... <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "DTD/xhtml1-strict.dtd"> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "DTD/xhtml1-transitional.dtd"> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "DTD/xhtml1-frameset.dtd"> |
Page 1 of 1
Powered by phpBB. © 2001, 2006 phpBB Group & Logo Design
Post new topic
Reply to topic