You are here: Re: DOCTYPE / background-image madness! « HTML « IT news, forums, messages
Re: DOCTYPE / background-image madness!

Posted by Harlan Messinger on 07/24/06 15:00

TC wrote:
> Els wrote:
>> TC wrote:
>
>>> Problems:
>>>
>>> (1) IE6 only displays the background image if I remove the DOCTYPE
>>> declaration. If I retain that declaration, it does not display that
>>> image, even though it still obeys the other aspects of the 'extlink'
>>> style.
>> Usually that means that you've done something wrong in the code, which
>> IE will "forgive" if you have it in Quirksmode, since in Quirksmode it
>> doesn't "have to" follow the W3C guidelines.
>>
>> Add the doctype, then *validate your code*, and fix the errors. If
>> then still IE doesn't show your background, come asking and show an
>> online example of what it is that's not working.
>
> Yes, good idea to validate first. I'll try that now. But I suspect that
> there is no point putting an example online - it will almost certainly
> *work* online :-)
>
>
>>> Adding or removing an IE6 "mark of the web" (MOTW) has no affect
>>> on this, one way or the other.
>> What *is* a mark of the web?
>
> IE executes local files (C:/blah.test) under the security restrictions
> of the Local zone.

When I load a on my hard drive into IE as a file without using http, the
security level indicator shows "My Computer", not Local zone.

> In days gone by, the Local zone had *less*
> restrictions than the Internet zone. So local files were *more capable*
> than remote ones. Now days, the Local zone has *more* restrictions than
> the Internet zone, so local files are (by default) *less* capable than
> remote ones.

Oh? I've observed the opposite, and this would make no sense, the whole
point being that you trust your own resources more than you trust other
people's.

I think you may be misinterpreting the situation. The current security
level is based on the page currently in your browser. If the page in
your browser is external, a higher security level applies. A *link* is
subject to fewer restrictions (if any at all) than a *link* to a local
file, the whole point being that if an external page is trying to get
you to click a link to your own files, it might be because it's trying
to cause trouble.

 

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

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