[thelist] Re: thelist digest, Vol 1 #2952 - 44 msgs
blah-blah-blah at yandex.ru
blah-blah-blah at yandex.ru
Thu Feb 20 09:05:48 CST 2003
Privet Rob!
Maybe this help
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnie60/html/cssenhancements.asp
Dimitre
> Message: 2
> From: Rob Whitener <rwhitener at DesignOptions.com>
> To: "Evolt Mailing List (E-mail)" <thelist at lists.evolt.org>
> Date: Wed, 19 Feb 2003 13:13:43 -0500
> Subject: [thelist] Doctype switching in IE 6 and missing style properties
> Reply-To: thelist at lists.evolt.org
>
> I am trying to be good and use a doctype to declare my HTML version:
>
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
> "http://www.w3.org/TR/html4/strict.dtd">
>
> This has cleaned up all of the positioning problems I was having. I was
> very happy when I initially added it to the pages on my site. Then I
> realized that another problem had cropped up. My sticky menu wasn't moving
> as the user scrolled the site. I found some info online and set up a test
> for document.documentElement, hoping this would solve my scrollTop woes. It
> didn't. It seems that when I have the doctype turned on I am able to access
> menu.style.top but there is no value there, and when I write to it, I get an
> error. When I lose the doctype, the menu scrolls perfectly.
>
> Does anyone know of any problems with the accessing of reading and writing
> style attributes with doctype switched to on?
>
> Thanks,
>
> Rob
More information about the thelist
mailing list