5 images in a row?

ringmyr

Member
Licensed User
Longtime User
hi i have 5 image in a row
how do i get the same distance between them?
the are same size
/rigmyr
 
Last edited:

klaus

Expert
Licensed User
Longtime User
You should calculate it.
You have : left margin, 5 images, 4 spaces and right margin.
Let's admit left and right margin equal one space.
You have now 5 images and 6 spaces.
Space = (100%x - 5 * Image1.Width) / 6
Image1.Left = Space
Image2.Left = Image1.Left + Space
Image3.Left = Image2.Left + Space
etc.
Or
Image1.Left = Space
Image2.Left = 2 * Space + Image1.Width
Image3.Left = 3 * Space + 2 * Image1.Width
etc.

Best regards.
 
Upvote 0
Top