how to partition the html page for certain length.. before and after the partitioning page should be only one column?? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

how to partition the html page for certain length.. before and after the partitioning page should be only one column??

I'm designing a webpage where the webpage has 3 column explanation after that it's a one column heading.. so I'm not able to divide it..

25th Oct 2016, 3:21 AM
mahi
1 Answer
0
Heres the html for this sort of thing <div class="top"> top content goes here </div> <div class="content-wrap"> <div class="columns">column 1</div> <div class="columns">column 2</div> <div class="columns">column 3</div> </div> <div class="bottom">Bottom content goes here</div> Then here comes the css to style it .top, .bottom {clear:both;} .content-wrap {clear:both;} .columns {width:30%;float:left;} This should work for you. You can then add other css properties to style your design.
27th Oct 2016, 3:31 AM
Oscar Frank
Oscar Frank - avatar