When creating tables inside a WordPress post, using uppercase TABLE and/or TR tags causes additional whitespace to appear above the table. I say and/or TR tags because uppercase TABLE tags alone don't seem to create additional whitespace, however uppercase TR tags do. If you combine the use of uppercase TABLE and TR tags together, they create even more whitespace!
First, lets see what normal output looks like:
[html]
This is a simple sentence used to demonstrate an odd spacing effect when uppercase TABLE and TR tags are used in a table.
[/html]
WordPress output:
And now, if we copy the exact same content and make the TABLE and TR tags uppercase, look what happens:
[html]
This is a simple sentence used to demonstrate an odd spacing effect when uppercase TABLE and TR tags are used in a table.
[/html]
WordPress output:
I'm running the latest version of WordPress (v2.3.1 as of this post) and I have confirmed this oddity appears on multiple platforms (Mac OS X 10.4.11, Windows XP SP2) with multiple browsers (Firefox 2.0.0.11 on Windows and OS X, Internet Explorer 6.0.29 and Opera 9.22 on Windows, and Safari 3.0.4 on OS X).
Upon closer inspection of the actual output produced by WordPress in my browser (using view source), I discover the problem:
Browser output of the lowercase example:
[html]
This is a simple sentence used to demonstrate an odd spacing effect when uppercase TABLE and TR tags are used in a table.
Hey,
My Name is, John
lots of great posts on here
check my site:
http://bPg38r.spaces.live.com/