Make sure you’re actually in IE 8 mode by using the preferred method, a standards doctype…
<!DOCTYPE html>
…or the undesired method, the X-UA-Compatible
meta tag/header…
<meta http-equiv="X-UA-Compatible" content="IE=EDGE" />
See Defining Document Compatibility for more information.