You are here: Re: IE6 background-image problem - works with N6/7, Firefox « HTML « IT news, forums, messages
Re: IE6 background-image problem - works with N6/7, Firefox

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

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация