You are here: Re: javascript and strict doctype « HTML « IT news, forums, messages
Re: javascript and strict doctype

Posted by Jeff on 10/06/59 12:01

A-OK-SITE wrote:
> On Jan 26, 10:54 pm, Jeff <jeff@spam_me_not.com> wrote:
>> aoksi...@gmail.com wrote:
>>> On Jan 26, 3:20 pm, Jeff <jeff@spam_me_not.com> wrote:
>>>> I have a page with a bit of DHTML that I wrote years ago that I'm
>>>> updating.
>>>> This works as expected without a doctype, but when I add a html 4.01
>>>> doctype, strange things happen.
>>>> IE has trouble redrawing the page background color (I'm adding a rule
>>>> for that), it's funky and sometimes it leaves a bit of the previous
>>>> color. In Fire Fox, reading element positions is way wrong (I get 0 0
>>>> on somethings).
>>>> The page passes W3C validation.
>>>> What gives?
>>>> Jeff
>>> Jeff,
>>> I think this may be what you wanted. Not sure but works a little
>>> better. Let me know something.
>>> http://a-ok-site.com/tmp/test.htm
>> I was going to say "genius"! That you had gotten rid of the IE
>> problem with strict. But then I noticed you changed the doctype to
>> transitional!
>>
>> Thanks for your time, I know you spent a bit.
>>
>> Jeff
>>
>>
>>
>>> Daniel
>>> http://a-ok-site.com

Hello Daniel,
>
> I changed it to strict. Sorry didn't think it was important. The IE
> is still fixed.
>
> http://a-ok-site.com/tmp/test.htm

Well, I'll give you that. Thanks!

Now, I notice you did several things. What do you think "fixed" it?

Jeff
>
> Daniel
>
> http://a-ok-site.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

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