aperfectcircle
Programmer
This can't be very hard, but I can't seem to get it right...
I have some javascript that checks the user's browser, and if it is Netscape 6 or higher I want to change the position of a div.
I know the browser-check thingy and my if statement works, because I can use it to change the background color for Netscape 6, but I just can't seem to get the positioning stuff...
Can anyone tell me the correct way to use javascript to position an element?
Thanks
I have some javascript that checks the user's browser, and if it is Netscape 6 or higher I want to change the position of a div.
I know the browser-check thingy and my if statement works, because I can use it to change the background color for Netscape 6, but I just can't seem to get the positioning stuff...
Can anyone tell me the correct way to use javascript to position an element?
Thanks