||View All MessagesBack to WebFX|
1. Use a doctype.|
2. The type attribute is missing on your script tag.
3. the style property name is "left"
4. The value is a string containing a number and a unit (the unit may be omitted when the value is 0). In other words use "50px"
5. There is no such variable 'a'. Use document.getElementById("a")
6. Make sure that the div exists when you try to access it. Either move the script to after the div has been created or call the code from an event handler.