Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS alternating image layout, overlapping space Reply To: alternating image layout, overlapping space

#242670
janga
Participant

Javascript is out of my league, but after sleeping over it yet another night, I found a solution; prehistoric measures to the rescue !
What I did is I created two image with the background color, and used these to fill in the gaps on both side, and then just a margin on the images. As long as the images combined have the same pixel count on both side, it fits like a dream, and scales down perfectly too.