The forums ran from 2008-2020 and are now closed and viewable here as an archive.
Home › Forums › CSS › How do I make two divs equidistant?
I have two divs: .main (which is full of text and has a set width, that changes when the browser size changes) and .images2 (which has 2 images, i.mages 1 has other images and is on another page)
Supposed to look like this: http://prntscr.com/ivb2hk
I want that distance between the images and .main to stay the same, and the distance between the images and right hand side to remain constant no matter what the browser or computer screen size is.
Updated codepen: https://codepen.io/1s2s2p/pen/rdJawE