Title: How to center posts?
Last modified: August 19, 2016

---

# How to center posts?

 *  [joeytech](https://wordpress.org/support/users/joeytech/)
 * (@joeytech)
 * [16 years, 11 months ago](https://wordpress.org/support/topic/how-to-center-posts/)
 * How can i get my posts to center?
    Here is my CSS:
 *     ```
       body, h1, h2, h3, h4, h5, h6, blockquote, p {
       margin : 0;
       padding : 0;
       }
       body {
       margin : 0;
       font-family : Arial, Helvetica, Georgia, Sans-serif;
       font-size : 12px;
       text-align : center;
       vertical-align : top;
       background : #000000;
       color : #00bfff;
       }
       h1 {
       font-family : Georgia, Sans-serif;
       font-size : 24px;
       }
       a:link, a:visited {
       text-decoration : underline;
       color : #00008b;
       }
       a:hover {
       text-decoration : none;
       }
       p {
       padding : 10px 0 0 0;
       }
       #container {
       float : left;
       width : 500px;
       }
       .post {
       padding : 10px 0 10px 0;
       }
       .post h2 {
       font-family : Georgia, Sans-serif;
       font-size : 18px;
       }
       .entry {
       line-height : 18px;
       }
       p.postmetadate {
       border-top : 1px solid #ccc;
       margin : 10px 0 0 0;
       }
       .navigation {
       font-size : 14px;
       font-weight : bold;
       line-height : 18px;
       }
       .sidebar {
       float : right;
       width : 200px;
       background : #0000ff;
       margin : 0 0 0 10px;
       display : inline;
       }
       .sidebar ul {
       list-style-type : none;
       margin : 0;
       padding : 0 10px 0 10px;
       }
       .sidebar ul li {
       padding : 10px 0 10px 0;
       }
       .sidebar ul li h2 {
       font-family : Georgia, Sans-serif;
       font-size : 14px;
       }
       .sidebar ul ul li {
       padding : 0;
       }
       table#wp-calendar {
       width : 100%;
       }
       #footer {
               clear:both;
       	padding : 10px;
       	margin-top : 2em;
       	width : 100%;
       	text-align : center;
       }
       ```
   
 * Thanks

The topic ‘How to center posts?’ is closed to new replies.

 * 0 replies
 * 1 participant
 * Last reply from: [joeytech](https://wordpress.org/support/users/joeytech/)
 * Last activity: [16 years, 11 months ago](https://wordpress.org/support/topic/how-to-center-posts/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
