Css For Applying Correctly For A Bootstrap Box
I have created a html stuff which has a parent div named as row-one. row-one class is having height set to 40%. The html is rendering correctly and the parent height is applied to
Solution 1:
You have to give height
to .portlet-layout
and .portlet-boundary
. An elment with height: percentage value
inherits from its parent so the parent element must have height value
. However, you use the below rules:
.portlet-layout,
.portlet-boundary
{
height: 100%;
}
Solution 2:
you can try this one:
style type="text/css">
html,
body {
height: 100%;
overflow: auto;
}
body {}
.sidebar-nav {
padding: 9px 0;
}
.row-one {
height: 40%;
}
.row-one .child-fluid,
.box {
height: 100%;
}
.row-one .box {
overflow: hidden;
}
.row-one .box-content {
height: calc(100% - 57px);
overflow-y: auto;
}
.portlet-layout,.portlet-boundary
{
height: 100%;
}
</style>
Post a Comment for "Css For Applying Correctly For A Bootstrap Box"