Forums

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

Home Forums CSS How do you align these images perfectly? Reply To: How do you align these images perfectly?

#245056
Beverleyh
Participant

Only an image? Hmmm, you need to provide your code to show us what you’ve tried yourself.

Tip: Look into Flexbox. We’ve touched on that before… https://css-tricks.com/forums/topic/i-cant-seem-to-get-the-image-to-function-the-way-that-i-want-it-to/#post-244929
(You’re welcome by the way)

Or try 3 floated block-level elements and the appropriate maths to get their width; 100 / 3 = 33.333%. And maybe look into “box-sizing” to absorb padding, etc., from the box model (also Google “box model” if you’re unsure what that is).

Good luck with your project.