Title: code for border
Last modified: August 19, 2016

---

# code for border

 *  [alessblog](https://wordpress.org/support/users/alessblog/)
 * (@alessblog)
 * [16 years, 8 months ago](https://wordpress.org/support/topic/code-for-border/)
 * What is the code to add border in my post to something?

Viewing 3 replies - 1 through 3 (of 3 total)

 *  [@mercime](https://wordpress.org/support/users/mercime/)
 * (@mercime)
 * [16 years, 8 months ago](https://wordpress.org/support/topic/code-for-border/#post-1242517)
 * add this declaration within CSS tag in your theme’s style.css
 *     ```
       #div post {
       border: 1px solid #000
       }
       ```
   
 * Or whatever div surrounds what you want to add border to. You could change it
   to anything else like 5px dotted #000066
 *  [Mark / t31os](https://wordpress.org/support/users/t31os_/)
 * (@t31os_)
 * [16 years, 8 months ago](https://wordpress.org/support/topic/code-for-border/#post-1242552)
 * You sure about that mercime?… late night?..
 *  [@mercime](https://wordpress.org/support/users/mercime/)
 * (@mercime)
 * [16 years, 8 months ago](https://wordpress.org/support/topic/code-for-border/#post-1242568)
 * egads t31os lol, no excuses for me, that was careless 🙂
 * #post { border: 1px solid #000; }
    – #post or .post or whatever container you
   have

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘code for border’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 3 replies
 * 3 participants
 * Last reply from: [@mercime](https://wordpress.org/support/users/mercime/)
 * Last activity: [16 years, 8 months ago](https://wordpress.org/support/topic/code-for-border/#post-1242568)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
