|
Posted by Stanimir Stamenkov on 10/24/92 12:01
Sat, 26 Jan 2008 16:20:11 -0500, /Jeff/:
> 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).
"http://websiterepairguru.com/colorpicker_2.htm", line 275:
target_menu.style.left=(pos.x);
target_menu.style.top=pos.y + pos.height;
You don't specify units:
target_menu.style.left=(pos.x) + "px";
target_menu.style.top=(pos.y + pos.height) + "px";
--
Stanimir
[Back to original message]
|