Centering text on main page - Post ID...

User 187934 Photo


Senior Advisor
20,188 posts
Online Now

You forgot global Google.:)
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
User 2061069 Photo


Registered User
15 posts

I must be doing something wrong. I have gotten it to center now but I can't get it to keep the color/text size, etc. I'm clicking HTML and typing the first part of the code (<p style="text-align="center">), then I'm typing into the page the text I want, selecting the color and the size, then I'm clicking HTML and typing the (</p>). It's centering the text but it's small still and keeping the color of the line before it.
User 364143 Photo


Guest
5,410 posts

Maybe the built-in controls don't play nice with html code that is inserted.

Try this:
[[[<p style="text-align:center; color: #000000; font-size: 11pt;">This text is center</p>]]]

You can use named colors, hex colors, or RGB colors. You can use various other font styles.

http://www.w3schools.com/css/pr_font_font-size.asp

http://www.w3schools.com/css/css_font.asp
CoffeeCup... Yeah, they are the best!

Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.