Reputation: 1
i've looked all over the internet and found answers on how to do this but it doesn't seem to work out for me anyway. Excuse me for the mess I'm still in the early stage of the learning process... BUT I wanna align these 3 images in the center of this div, center of the page or whatever you wanna call it. I want the soulnight poster in the middle, profit lab to the left and the overheard at poker to the right.
The code I have now:
What the site looks like now:
Upvotes: 0
Views: 6353
Reputation: 11
You can use display:inline-block; and add text-align:center in the container.
.container{text-align:center;}
.container img{display:inline-block;}
Working example here: https://jsfiddle.net/u3hvd2g4/1/
Upvotes: 1