Need to center image inside ui-block grid
This shouldn't be hard but i can't seem to get an image to center align within a grid block. I have tried a number of css properties with no avail. My basic layout code:
<div class="ui-grid-b">
<div class="ui-block-a">
<a href="#">
<img src="assets/img/iNews.png" />
</a>
</div>
...
Is it possible to make an image center align horizontally within
each grid block? Eventually this will be a responsive grid so I
need the image to always be centered in the block but I won't
always know the width of the block.
DMS Software video
Keyboard shortcuts
Generic
? | Show this help |
---|---|
ESC | Blurs the current field |
Comment Form
r | Focus the comment reply box |
---|---|
^ + ↩ | Submit the comment |
You can use Command ⌘
instead of Control ^
on Mac
1 Posted by Jenny Den on 18 Nov, 2020 04:58 PM
I hope you got the right answer to your query here on this forum. Additionally, if you want to know about the best mortgage default plans in Virginia then do read this post.