To align the div in center of the page we use width and margin css, but which not works in ie8 if page doesnt have DOC TYPE.
<
div
style
=
"width: 100%"
>
<
div
style
=
"width: 986px; margin: auto"
>
Center Content
</
div
>
</
div
>
In IE8, should add the following DOC TYPE before html tag
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<
html
>