Forums

XHTML code to create sidebar within a post? (2 posts)

  1. cbjorlin
    Member
    Posted 10 months ago #

    I am trying to create sidebars within WordPress posts -- I want to separate out links or FAQs. Would anyone happen to know the best XHTML code for this?

  2. zoonini
    help me help you
    Posted 10 months ago #

    You could float the stuff you want to separate out by editing it in HTML view. Example:

    <div id="linkside">
    put your links here
    </div>

    Then in your stylesheet:

    #linkside {
     float: right;
     width: 200px;
     padding: 0 0 10px 10px;
    }

    Lots more about floats: http://css.maxdesign.com.au/floatutorial/

Reply

You must log in to post.

About this Topic

Tags