In quirks mode Firefox also adopt the broken box model. In "almost
standards mode" they render everything as in "standards mode" except
from images inside an td element. Other browsers are following
Mozilla.
This is only a problem if you use an PhotoSoup layout with sliced
images. If you use tabular in formations with images, let say an icon,
this is not a problem:
<td><img src="icon.gif" height="16" width="16" alt="New!"></td>
<td>Tabular info as text</td>
Now you can use 'vertical-align' on both the td element and the img
element. E.g there are no difference between "standards mode" and
"almost standards mode".
That only affects PhotoSoups layout with sliced images, so I don't see
your problem. XTHML transitional with Content-Type "application/xhtml
+xml" (or extension .xht or .xhtml) is rendered in "standards mode".
IE 6 and IE 7 is always rendering pages in what Mozilla is calling
"Almost standards mode", as long as you have a DOCTYPE with the word
"html" inside:
<!DOCTYPE anything with the world "html" inside>
In IE 6 and IE 7 this DOCTYPE is rendered in their "standards mode":
Just past "javascript: alert(document.compatMode)" in the address bar
an see for yourself.
I use "quirks mode" to mean anything except strict, although there are
degrees of quirks modes in various browsers.
All browsers is behaving different in "quirks mode". In "standards
mode" and "almost standards mode" all are following the standards.
There is only
one differences between "standards mode" and "almost standards mode"
and that is how sliced images in tabular layouts is rendered within
table cells. In tables with tabular data, IE 6, IE 7 and Firefox are
(trying) to follow the standards.
The difference between "strict" and "transitional" DOCTYPEs is almost
of no importance. They are all rendering in "standards mode" with only
that exception.
In the specifications there are only two modes: "BackCompat" (quirks
mode) and "CSS1Compat" (standards mode/almost standards mode).