Last active
February 26, 2019 05:00
-
-
Save charlwillia6/4d46bbdbdae04efb657f47309830a741 to your computer and use it in GitHub Desktop.
Center images with caption aligning beneath the image. #snippet #html
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div style="display: block; text-align: center;"> | |
<div style="display: inline-block"> | |
<div class="wrapper" style="display: table; text-align: left"> | |
<a href="#" target="_blank"><img alt="Wib Ami Video" src="/assets/225577/fullsize/wib_ami_video.jpg" style="display: block; text-align: center;"></a> | |
<div class="caption" style="display: table-caption; caption-side: bottom;">Ami: Network means an open, helping hand</div> | |
</div> | |
</div> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment