I'm trying to get my template to validate xhtml strict and behave
well in the various browsers when displaying an image. http://
www.mojotools.com/priv/tst/d/3mb-d.html works in FireFox Mac/Win,
Safari, IE5 - 7 with the following html:
<img src="hedTie.gif" alt="" width="78" height="158" align="top"
align="top" />
But . . . W3W's code validator complains about align="top" and
border="x"
I rewrote the code to:
<img class="alignTop" src="hedTie.gif" alt="" width="78" height="158" />
^^^^^^^^^^^^^^^^
And created a CSS rule
img.alignTop {
align: top;
}
which does validate. However, doing so introduces a break between
the header and the body in IE5-7.
http://www.mojotools.com/priv/tst/d/3mb-d-3.html
Thanks,
Bob
Bob Cohen
Principal, MojoTools Web Design
Blues Harmonica Lessons
Web : www.mojotools.com
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/