So I have the following stripped down version of my code:
<!DOCTYPE html>
<head>
<title>Portfolio Export</title>
<style type="text/css">
.mainBody {
padding: 25px;
}
</style>
</head>
<body>
<form class="mainBody" method="post" action="test_action.cfm">
<p>Is the User Active?</p>
<label>
<input type="checkbox" name="userActive" value="1">
User is Active
</label>
<input type="submit" value="Enter">
</form>
</body>
</html>
This is the html for a cfwindow pop up modal that works great on Chrome, FireFox, IE9-Edge, and Safari. But when I open the F12 Developer Tools, go to Emulation and change the Document mode to 8, the CSS goes away. It doesn't even show up in the Styles section of the DOM Explorer. Does anyone have any idea why this isn't working?
divwithin theformelement. So once you movedmainBodyto the innerdiv, it should work.