PDA

View Full Version : How to Indent Both Sides


rxg
04-04-2013, 10:14 PM
Hello!

I'm wondering how to indent both sides of a text selection. I've been putting the "[INDENT]" tags around my text, but that is only pushing the selected text to the right. I want the indentation values to be equal on the right and the left, as if to have a single column of text in the center of posts.

kNeo
04-05-2013, 03:25 AM
I don't know specifically, as I don't know which theme you're using, but you can accomplish this by using:
.content blockquote {margin:0 1em!important;}

note: I'm not 100% sure about that, it should work for posts though. Change "1em" to whatever you want the indent size to be.

EDIT: Stick the code in additional.css.

rxg
04-05-2013, 05:24 PM
I don't know specifically, as I don't know which theme you're using, but you can accomplish this by using:
.content blockquote {margin:0 1em!important;}

note: I'm not 100% sure about that, it should work for posts though. Change "1em" to whatever you want the indent size to be.

EDIT: Stick the code in additional.css.

Thanks for the reply.

The problem with this is that I only want the indentation to be on one specific post in a specific thread, not on all posts. If I add this to additional.css it will indent more than that, right?

I'm talking more about formatting with bbcode more than anything else.

kNeo
04-05-2013, 10:13 PM
Well you could simply use html and throw it in a div, assuming you're posting with an admin account.

You could also create a BBcode do this, like "indent2" or something.