Markdown to Center text?

How can I center text on a web page with Markdown? I can’t seem to find how to do that. If not Markdown, how could I do it with CSS?

Also, can I mix Markdown with CSS on the same web page?

Thank you,

Gina

For the CSS part…

3 Likes

Aris, thanks – I added the block of code for centering inline text to the Custom CSS section on my blog, but I’m not sure how to apply it to the specific headlines I’m trying to center. I’m assuming I need to be adding the code to the CSS Section, but that’s about as far as I get. On top of it, I know very little about CSS language. If you have any other advice, I appreciate it. Gina

.center-children { text-align: center; }

I have found the following to work for centering. I use it for centering images.

<div style="text-align:center;width:100%;">insert text here</div>
1 Like