Title: CSS border problems
Last modified: August 18, 2016

---

# CSS border problems

 *  [korbas1013](https://wordpress.org/support/users/korbas1013/)
 * (@korbas1013)
 * [18 years, 6 months ago](https://wordpress.org/support/topic/css-border-problems/)
 * This may be a common problem, but I don’t know what it is enough to search for
   it. I did try but couldn’t find anything meaningful. Sorry. :-/
 * Top and bottom borders are shifting out of place and not following with the main
   body background section. The severity seems to depend on the size of the monitor
   being used – on some it’s awful, and on others it’s fine. [My site is here](http://www.prayerwire.net)
   and if you look under the header image and right above “Hello world”, there’s
   the problem.
 * Any suggestions would be helpful. Thanks!

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

 *  [oscarmota](https://wordpress.org/support/users/oscarmota/)
 * (@oscarmota)
 * [18 years, 6 months ago](https://wordpress.org/support/topic/css-border-problems/#post-659334)
 * It seems that you deletede/edited the css file and lost some rules.
 * Try to add this to your css file:
 * .centercontent {float:left;}
 * Works with Firefox, I dont know if it works with IE.
 * BTW: The WP themes files would be inside a themes/theme-name-folder/ , but you
   have your css in themes/x.css
 *  Thread Starter [korbas1013](https://wordpress.org/support/users/korbas1013/)
 * (@korbas1013)
 * [18 years, 6 months ago](https://wordpress.org/support/topic/css-border-problems/#post-659336)
 * Hmm…that is unfortunately how it came (I didn’t alter it after downloading and
   before installing). Which file should I add that to?
 *  [oscarmota](https://wordpress.org/support/users/oscarmota/)
 * (@oscarmota)
 * [18 years, 6 months ago](https://wordpress.org/support/topic/css-border-problems/#post-659338)
 * Sorry I was wrong, the float:left, doesn’t fix your trouble, let me see.
 * But it would be better if you upload the theme in the wp-content/themes/ directory,
   NOT the files, the whole theme folder.
 *  [oscarmota](https://wordpress.org/support/users/oscarmota/)
 * (@oscarmota)
 * [18 years, 6 months ago](https://wordpress.org/support/topic/css-border-problems/#post-659339)
 * Go to style.css (line 47) and remove “margin: 0pt auto”
 *  Thread Starter [korbas1013](https://wordpress.org/support/users/korbas1013/)
 * (@korbas1013)
 * [18 years, 6 months ago](https://wordpress.org/support/topic/css-border-problems/#post-659347)
 * Thanks! That worked great! That definitely improves my knowledge on how WP themes
   work. 🙂

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

The topic ‘CSS border problems’ is closed to new replies.

## Tags

 * [border](https://wordpress.org/support/topic-tag/border/)
 * [css](https://wordpress.org/support/topic-tag/css/)
 * [format](https://wordpress.org/support/topic-tag/format/)

 * 5 replies
 * 2 participants
 * Last reply from: [korbas1013](https://wordpress.org/support/users/korbas1013/)
 * Last activity: [18 years, 6 months ago](https://wordpress.org/support/topic/css-border-problems/#post-659347)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
