Skip to content

Alignment of figure captions #2470

Answered by iBug
suryadheeshjith asked this question in Q&A
Discussion options

You must be logged in to vote

The <figcaption> has display: block so what you'd want to apply is:

margin-left: auto;
margin-right: auto;

Replies: 4 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by mmistakes
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants
Converted from issue

This discussion was converted from issue #2470 on December 22, 2020 15:34.