Title: XHTML code to create sidebar within a post?
Last modified: August 20, 2016

---

# XHTML code to create sidebar within a post?

 *  [cbjorlin](https://wordpress.org/support/users/cbjorlin/)
 * (@cbjorlin)
 * [14 years, 11 months ago](https://wordpress.org/support/topic/xhtml-code-to-create-sidebar-within-a-post/)
 * 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?

Viewing 1 replies (of 1 total)

 *  Moderator [Kathryn Presner](https://wordpress.org/support/users/zoonini/)
 * (@zoonini)
 * [14 years, 11 months ago](https://wordpress.org/support/topic/xhtml-code-to-create-sidebar-within-a-post/#post-2189542)
 * 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/](http://css.maxdesign.com.au/floatutorial/)

Viewing 1 replies (of 1 total)

The topic ‘XHTML code to create sidebar within a post?’ is closed to new replies.

## Tags

 * [xhtml](https://wordpress.org/support/topic-tag/xhtml/)

 * 1 reply
 * 2 participants
 * Last reply from: [Kathryn Presner](https://wordpress.org/support/users/zoonini/)
 * Last activity: [14 years, 11 months ago](https://wordpress.org/support/topic/xhtml-code-to-create-sidebar-within-a-post/#post-2189542)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
