0
I just want to make one div
, as if it were a windows window, with title, body and a button bar at the end. But I don’t know why, depending on the size of the window, it "leaks" or is left over screen... I wanted the title and the bar to have fixed sizes, and the body to take the rest of the screen. Look at my code:
<div id='tela' class='tela'>
<div id='tela_titulo' class='tela_titulo'>TITULO</div>
<div id='tela_corpo' class='tela_corpo'>CorpoCorpo</div>
<div id='tela_botao' class='tela_botao'>botao</div>
</div>
and the css
:
.tela
{
height:100px;
width:300px;
border:2px solid #ffec24;
}
.tela_titulo
{
position:relative;
height:10%;
border:2px solid #000000;
}
.tela_corpo
{
position:relative;
height:80%;
border:2px solid #000000;
}
.tela_botao
{
height:10%
border:2px solid #000000;
}
But this way he’s throwing the bar out of the div
.
Valews bro, something so simple kk and I was picking up...!
– Rafael Spessotto