jagguy
asked on
flex grid
in html/css i want to create a 2 by 2 grid of flexable size not known until runtime.
I have some pictures of varying size which i want placed nex to each other wihout much of a gap. the picture description is on col2 and pics are in col1. i want the descrption to apear next to the pic.
how do i create this so i dont need to put a fixed width
<div class="One"> </div>
<div class="two"> </div>
<div class="three"> </div>
<div class="four"> </div>
I have some pictures of varying size which i want placed nex to each other wihout much of a gap. the picture description is on col2 and pics are in col1. i want the descrption to apear next to the pic.
how do i create this so i dont need to put a fixed width
<div class="One"> </div>
<div class="two"> </div>
<div class="three"> </div>
<div class="four"> </div>
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
i float right and it works with a wrapper
ASKER
needed tinkering with my last post
1 left and 1 right ? [ ] <-- --> [ ]
and 2 lefts don't work in your case ? [ ] [ ] <--
don't forget to add clear:both style at the next div
and 2 lefts don't work in your case ? [ ] [ ] <--
don't forget to add clear:both style at the next div
ASKER