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? Link to comment https://forums.phpfreaks.com/topic/61392-sign-when-setting-stlye/ 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 Link to comment https://forums.phpfreaks.com/topic/61392-sign-when-setting-stlye/#findComment-305642 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.