Problem is when I click on compatibility button or in developer tools try to view page in IE 7,8 or 9
When I click on compatibility button (next to URL area) in IE 10, all of the controls on my page, float towards to left.
Not sure what could be wrong, I also tried browser Mode to IE 9, 8 and 7 and still everything stays on left.
I also noticed as soon as refresh page (while being in compatibility mode) everything gets normal.
<div id="outer">
<div id="inner">
<div id="content">
<div id="header">
<div id="headertext">
<div>SomeeeeeeeeText</div>
<div class="bp">SomeTexttttttttttttttttttttttt</div>
</div>
</div>
</div>
</div>
</div>
and
CSS
body {
font-family: 'Segoe UI', Segoe, Tahoma, Helvetica, Arial, sans-serif;
text-align: left;
background-color: #0783FF;
color: #fff;
}
#outer {
display: table;
height: 100%;
width: 100%;
}
#inner {
display: table-cell;
vertical-align: middle;
}
#content {
width: 65%;
margin-left: auto;
margin-right: auto;
}
#header {
text-align: center;
color: #fff;
}
#header>img, #headertext {
display: inline-block;
}
#headertext {
text-align: left;
}
#headertext .bp {
font-size: 2.6em;
line-height: 0.8em;
}
Updating
Here's a fiddle