-1
I’ve tried everything but my height:100% does not work what I should do?
html,
body {
margin: 0px;
height: 100 %;
}
.margin - site {
width: 615px;
margin: 47px auto;
background - color: #fff;
padding: 10px;
word - wrap: break -word;
border - radius: 3px;
display: table;
}
.margin - right {
width: 255px;
height: 100 %;
float: right;
height: -webkit - calc(100 % -100px);
height: -moz - calc(100 % -100px);
height: calc(100 % -100px);
}
<div class="margin-site">
<div class="margin-right">
conteudo right
</div>
conteudo site
</div>
Face Check the html so we can examine it better? Sure you stated
html
and thebody
100% height, but this class.margin-right
Is she the son of any father? If so, this father must also be declared to be 100%.– ayelsew
@Thomsontorvalds is son yes, I updated the post with html
– Hanz
@Thomsontorvalds I tried to put height:100%; no father also in the case . margin-site and did not work. :/
– Hanz