By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,843 Members | 2,311 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,843 IT Pros & Developers. It's quick & easy.

IE6 - setting div left top

100+
P: 144
hi,

how to set a div left and top in IE 6

i've tried with

myDivHandler.style.left = 20;
myDivHandler.style.top = 20;

it works in opera 9.02 but it gives me a runtime error in IE 6.
thanks
Jul 10 '08 #1
Share this Question
Share on Google+
1 Reply


acoder
Expert Mod 15k+
P: 16,027
What's the error? Don't forget the units, e.g. "px".
Jul 10 '08 #2

Post your reply

Sign in to post your reply or Sign up for a free account.