In order to create a page which will have a fixed side bar and a fluid width container, we need to follow the below mentioned HTML/CSS pattern.
HTML
<div id="container" class="clearfix">
<div class="sidebar">
</div>
<div class="mainarea">
</div>
</div>
CSS
#mainarea {
overflow: hidden;
}
.clearfix::before, .clearfix::after {
content: ' 0020';
display: block;
overflow: hidden;
visibility: hidden;
width: 0;
height: 0;
}
.clearfix {
}
.clearfix::before, .clearfix::after {
content: ' 0020';
display: block;
overflow: hidden;
visibility: hidden;
width: 0;
height: 0;
}
.customizer {
}
.preview_area {
}
No comments:
Post a Comment