I have 10 images with fixed dimensions (width, height). How do I choose the constraints in the Interface Builder when I want to let all images automatically float without any margin?
Like this, in Portrait mode the images would be aligned as
1 2 3
4 5 6
7 8 9
10
and in Landscape
1 2 3 4 5
6 7 8 9 10
In HTML with this effect would be automatic for the <img>
tag, or when you have block elements as <div>
you would apply float:left
to all elements.