I created a basic two-column fluid layout using Bootstrap 2
. One column features two div
elements, while the other contains three div
elements. Both columns are set to span6
. You can view the fiddle here.
I tried adjusting the heights of the two div
elements in the left column with CSS, aiming for the top one to occupy 62.5% of the browser window height and the bottom one to take up the remaining 37.5%. I wanted to achieve similar height ratios for the three div
elements in the right column. However, I encountered several questions/issues:
- The block/
div
heights don't extend fully to fill the window vertically, and the individual block/div
heights remain unchanged. - How can I make the combined height of the two
div
elements on the left match that of the threediv
elements on the right, while maintaining the specified relative height ratios within each column (
)?left: 62.5%, 37.5%; right: 35%, 30%, 35%
- Is there a way to adjust the padding between the blocks/
div
s?
I'm hoping all these objectives can be accomplished without using any Javascript.