"Could not get the styleFloat property." error when Internet Explorer 11 is set in Internet Explorer 8 document mode

Symptoms

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.

Resolution

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.

Status

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

References

Learn about the terminology that Microsoft uses to describe software updates.

Need more help?

Expand your skills
Explore Training
Get new features first
Join Microsoft Insiders

Was this information helpful?

Thank you for your feedback!

Thank you for your feedback! It sounds like it might be helpful to connect you to one of our Office support agents.

×