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

Posted by TC on 07/24/06 09:10

Els wrote:
> TC wrote:
>
> > 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 :-)
>
> I don't see why. Really, if the doctype is what makes the difference,
> that proves it's not a misplaced image file or anything. So if it
> works locally without doctype, and not with a doctype, the same will
> be the case on the web.

Ok. I could be wrong in that assumption. Now I will actually test it!
If it still goes wrong when run from the web, I'll post an online URL
here.


> > The MOTW is (snip)

> Never heard of it, and never had a problem with HTML files locally,
> even if I open them as local files instead of serving them as
> webpages. I suppose this only comes into play when using scripts and
> stuff, not plain HTML and CSS.

Yes, it's only relevant when IE thinks the page has "active content"
(eg. scripts). In theory, the MOTW should just suppress the prompt that
IE issues to ask the user if he wants to run that content. But in
practice, I've found some cases where including an MOTW (to suppress
that prompt), does *not* produce the same effect as excludng it &
replying "yes" to the prompt.

There's lots of usenet comment on "mark of the web" or MOTW.

Cheers,
TC (MVP MSAccess)
http://tc.atspace.com

 

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

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