|
Posted by David Dorward on 11/15/05 23:22
didier.boelens@steams.be wrote:
> In fact, I am developping some kind of template control (ASCX file /
> ASP.NET 1.1) [I don't know if it matters] and with Netscape 6/7,
> Firefox, ... it is just perfect but with IE6, the behavior is quite
> different.
Well, since the problem is with what is rendered by the client, then its the
code the client sees that is important.
> <td class="block_top_corner_left"/>
Assuming this doesn't get converting in some magic way, then it seems likely
you are writing XHTML and serving it as application/xhtml+xml to some
clients and text/html to others.
If you server it as text/html then you need to follow Appendix C of the
XHTML 1.0 spec, which you aren't.
That means (among other things) that self-closing tags should have a space
before the "/", and that only elements which are defined as empty in the
spec (which <td> isn't) should be represented using self-closing tags.
Also - you shouldn't be abusing tables for layout in that fashion.
--
David Dorward <http://blog.dorward.me.uk/> <http://dorward.me.uk/>
Home is where the ~/.bashrc is
[Back to original message]
|