Guardian-Mage Posted July 23, 2007 Share Posted July 23, 2007 var el = getElement(objectID); el.style.margin-left = x; that code is invalid in firefox since there is a minus sign. any way around this? Quote Link to comment Share on other sites More sharing options...
nogray Posted July 23, 2007 Share Posted July 23, 2007 you should use the scripting format for style in JS something like this marginLeft marginTop fontFamily backgroundColor Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.