When you set style["float"]= "center" in Internet Explorer 11 with a document mode of Internet Explorer 8 or an earlier version, you receive an error message that resembles the following:
SCRIPT87: Could not get the styleFloat property. Invalid argument.
To fix this issue, install the most recent cumulative security update for Internet Explorer. To do this, go to Microsoft Update. Additionally, see the technical information about the most recent cumulative security update for Internet Explorer.
Note This update was first included in the MS17-006: Description of the security update for Internet Explorer: March 14, 2017.
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.
Learn about the terminology that Microsoft uses to describe software updates.