Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Is there some reason using display:inline in FF would make the browser ignore the rest of the CSS (i.e. width, ...)
Use [tt]inline-block[/tt].kconmle said:So there is no way to have an inline element with a width??
*{
margin:0px;
padding:0px;
}
html,body{
width:100%;
height:100%;
}
#container{
width:95%;
height:95%;
background-color:#DDDDDD;
border:1px solid #888888;
margin-left:auto;
margin-right:auto;
}
#colspan2{
width:100%;
background-color:#994400;
height:50%;
}
.acell{
width:50%;
height:50%;
float:left;
}
#cell1{
background-color:#AAAAFF;
}
#cell2{
background-color:#AAFFAA;
}
<div id="container">
<div id="colspan2">Colspan 2</div>
<div id="cell1" class="acell">Cell One</div> <div id="cell2" class="acell">Cell Two</div>
</div>