Title: Padding problems
Last modified: August 18, 2016

---

# Padding problems

 *  [mrswitch](https://wordpress.org/support/users/mrswitch/)
 * (@mrswitch)
 * [18 years, 5 months ago](https://wordpress.org/support/topic/padding-problems/)
 * Hey, I’m having some problems getting my theme to look quite right, there are
   some gaps in the background image I am using for the background to the post content.
   This occurs in FF and Opera but not in IE6 (haven’t tested IE7)
 * I use a heavily modified comicpress theme, and have one category show below the
   other on the home page.There is a problem with spacing between the two, I have
   bodged a work around using negative margins for the containing div, but this 
   renders slightly differently accros browsers and would rather work out why the
   spacing occurs than use this fix.
 * Any help anyone can offer would be great, my site can be found at [http://www.apatheticrant.com](http://www.apatheticrant.com)

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

 *  Thread Starter [mrswitch](https://wordpress.org/support/users/mrswitch/)
 * (@mrswitch)
 * [18 years, 5 months ago](https://wordpress.org/support/topic/padding-problems/#post-649327)
 * A bit more information, the amount by which the bottom section is out by depends
   on the size of the above post, i.e the comic post. The smaller the post the more
   tha padding. It looks like the site blog is absolutely positioned, but I didn’t
   define it that way in the CSS…
 *  Thread Starter [mrswitch](https://wordpress.org/support/users/mrswitch/)
 * (@mrswitch)
 * [18 years, 5 months ago](https://wordpress.org/support/topic/padding-problems/#post-649535)
 * UPDATE: I have been able to fix the gappy background by moving the end tag for
   the post to be after the <?php endforeach; ?> this forcing all posts to have 
   the background.
 * The only problem I have now is this weird absolute positioning problem. It probably
   isn’t apparent as I have changed the margins to hide it, but the containing both
   the Site News and the Latst updates colum (pretty much everything below the comic
   post) seems to be in a fixed position. This means that when the length of the
   comic post above varies there is either a gap between the comic post and the 
   site blog etc, or worse, the site blog etc stuff overlaps onto the comic:
 * [url=”[http://imageshack.us”%5D%5Bimg%5Dhttp://img62.imageshack.us/img62/4946/overlapiw8.png%5B/img%5D%5B/url%5D](http://imageshack.us”%5D%5Bimg%5Dhttp://img62.imageshack.us/img62/4946/overlapiw8.png%5B/img%5D%5B/url%5D)
 * As I said, to hide this I have to modify the containing div’s “margin-top” attribute,
   shifting <div class=”sitestuff”> up or down. This is going to get really annoying
   if I have to do this after every comic post. The problem is I can’t see why it’s
   happening, I havn’t used any absolutes in my CSS.

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

The topic ‘Padding problems’ is closed to new replies.

 * 2 replies
 * 1 participant
 * Last reply from: [mrswitch](https://wordpress.org/support/users/mrswitch/)
 * Last activity: [18 years, 5 months ago](https://wordpress.org/support/topic/padding-problems/#post-649535)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
