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

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

aoksite1@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

 

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

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