Dougal Campbell's geek ramblings

WordPress, web development, and world domination.

Images, Tables, and Mysterious Gaps

Yet another reason to migrate to standards compliant [X]HTML. When newer browsers are in strict mode, images in tables don’t always line up the way you expect them to. This isn’t due to any bugs in the new browers. Quite the contrary. It’s because they are correctly implementing the specifications for how to render images in relation to text (even if there’s no text around them).

About Dougal Campbell

Dougal is a web developer, and a "Developer Emeritus" for the WordPress platform. When he's not coding PHP, Perl, CSS, JavaScript, or whatnot, he spends time with his wife, three children, a dog, and a cat in their Atlanta area home.
This entry was posted in Web Design. Bookmark the permalink.

Leave a Reply

%d bloggers like this: