Forums

How code a hairlined box within a post? (4 posts)

  1. kenwinstoncaine
    Member
    Posted 3 years ago #

    I want to create blocks within posts that would have a light-pink background, a hairline box around them, and would be left-indented about 10px from the rest of the post. How would I code that?

    And could I create a button on the "post" page so that I could highlight copy and just click it any time I wanted that effect?

    How would I do that?

    Would this be theme dependent?

    I'm using a modification of clemons's 3-column relaxation at www.mindbodyspiritjournal.com

    Thanks,
    kwc

  2. optimisation
    Member
    Posted 3 years ago #

    For the blocks enquiry ....

    Put the section in a blockquote tag -

    and then put the style into the css stylesheet for the site

    blockquote {
    border-width:2px 1px 1px 6px;
    border-color:#A5C059;
    border-style:solid dotted dotted solid;
    background-color:#FFFFE8;
    padding:1em 1em 1em 1em;
    }

    you will need to play with the border-style and background-color to get what you want.

  3. kenwinstoncaine
    Member
    Posted 3 years ago #

    Thanks, Opty.

    Now, does anyone know how to customize buttons on the 'Write' console so I can have ones there that I use frequently?

  4. whooami
    Member
    Posted 3 years ago #

    ken,

    just a heads up, I am seeing the infamous "redirection limit exceeded" error when trying to open your site, using both firefox and i'net explorer.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags