Forums

can't indent text in posts... ? (5 posts)

  1. Rok Sivante
    Member
    Posted 4 months ago #

    I had made some posts, all good.
    Now, I'm trying to do a post, and some lines of text I want to indent with 3 hits of the spacebar. If I copy the whole text from an external doc, the indents don't come thru. If I indent within Wordpress, it appears ok in the visual editor, but doesn't indent on the preview page or published post.

    Does anyone know how to solve this issue?

    thanks!!!

  2. wearitwell
    Member
    Posted 4 months ago #

    HTML does not accept spacebar hits. You will need to do it by inserting

     

    a few times in HTML-View (where nbsp means non-breaking-space) or you could use a class that has the css-property text-indent and do it that way.

  3. Rok Sivante
    Member
    Posted 4 months ago #

    that works - though a SERIOUS pain in the #ss. I don't understand why it doesn't work in the visual editor - was working fine before. any way to get it working with the Visual editor?

    thanks!

  4. Xamataca
    Member
    Posted 4 months ago #

    I will suggest css for this too.

    If you want to indent an entire paragraph at your will you can do it using the html edit view and add some sort of class to that paragraph:
    <p class="classname">stuff here</p>.
    Then in your css:

    .classname {
    padding-left: 2em;
    }

    This will add padding to the entire paragraph.
    If you want only the first line in a paragraph to set in from the margin (that's exactly the meaning of indent, at least in typography) use:

    .classname {
    text-indent: 2em;
    }

    Call the class whatever you want and experiment with units.

    Some resources:
    http://www.webtypography.org/index.php?s=indent
    http://designpepper.com/2008/09/01/the-web-designers-typographic-glossary/

  5. Rok Sivante
    Member
    Posted 4 months ago #

    thanks for the feedback, though all too complicated - I'd just like it simple & straightforward, working like it was before - paste from an external document & have it come up exactly the same, without all text starting at the beginning of a line, or able to space bar it & be published like it shows up in the Visual Editor.

    Thanks!!!!

Reply

You must log in to post.

About this Topic