html - Getting element to along next to eachother -


please @ jsfiddle.

as can see have html elements need sit side side. first example code, second how want , 3rd example of how fix not option.

i cannot change code following structure:

<div class="big">1</div> <div class="big">2</div> <div class="big">3</div> <div class="big">4</div> <div class="small">5</div> <div class="small">6</div> <div class="small">7</div> 

what need elements correctly sit side side, 1 next 5, 2 next 6 , 3 next 7.

i don't want use absolute positioning.

if can me solve brilliant!

please remember cannot change html, has css solution if @ possible.

cheers, luke.

change css .big too:

.big {     width: 55%;     float: left; } 

http://jsfiddle.net/9abmoasw/2/


Comments

Popular posts from this blog

javascript - Jquery show_hide, what to add in order to make the page scroll to the bottom of the hidden field once button is clicked -

javascript - Highcharts multi-color line -

javascript - Enter key does not work in search box -