Hello
I have used the standard out of the box feature in flare to create a responsive lay out and have some tiles.
I only want the tiles to contain images, how can I get the image to be in the center horizontally and vertically, I really can't seem to work this out any help would be appreciated.
I want the images to be in the center of each tile div.
Thanks
Robin
Center Image
-
- Propeller Head
- Posts: 20
- Joined: Mon Feb 15, 2021 5:11 am
Center Image
You do not have the required permissions to view the files attached to this post.
-
- Sr. Propeller Head
- Posts: 133
- Joined: Sun Feb 03, 2013 6:01 pm
Re: Center Image
What I do is set the div text-align property to center.
There are also other options. That's just the one I use. For more ideas, check out https://www.freecodecamp.org/news/how-t ... ge-in-css/
I hope that helps,
-jeff
Code: Select all
div.image-container { text-align:center; }
I hope that helps,
-jeff