I am building a backend for a website and I got a strange behavior of display table
/cell
/row
My fiddle: http://jsfiddle.net/5G9nJ/
html
<div id="App">
<div id="AppFrame">
<div id="AppMenu">
<div id="AppMenuContent">test</div>
<div id="AppMenuLog">test</div>
</div>
</div>
</div>
css:
html, body{
height: 100%;
margin-left: 0px;
margin-top: 0px;
margin-bottom: 0px;
background-color: #ebebeb;
font-family:Helvetica;
}
#App{
height: 100%;
display: table;
margin-left: 0px;
margin-top: 0px;
}
#AppFrame{
display: table-row;
height: 100%;
margin-top: 0px;
}
#AppMenu{
height: 100%;
width: 300px;
margin-top: 0px;
display: table-cell;
}
#AppMenuContent{
max-width: 65px;
height: 100%;
background-color: red;
}
#AppMenuLog{
margin-left: 65px;
width: 200px;
height: 100%;
background-color: #999999;
}
#AppDisplay{
display: table-cell;
height: 100%;
}
The problem is that, the div "AppMenuLog" will not appear next to the div "AppMenuContent"! I've tried to set the both divs to blocks, changed the width and heights but nothing solves this, can anyone help me?