Title: padding issue?
Last modified: August 19, 2016

---

# padding issue?

 *  Resolved [iluvpinkerton](https://wordpress.org/support/users/iluvpinkerton/)
 * (@iluvpinkerton)
 * [16 years, 9 months ago](https://wordpress.org/support/topic/padding-issue/)
 * im having issues with padding/margin between the header and content on my site.
   I cannot figure out why it looks fine in FF and bad in IE. The space between 
   the navigation buttons and the content(in IE) should not be there)
 * [http://www.rockabyebabymusic.com/blog](http://www.rockabyebabymusic.com/blog)
 * Please help!

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

 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [16 years, 9 months ago](https://wordpress.org/support/topic/padding-issue/#post-1199255)
 * You’re having real problems with this IE conditional comment, aren’t you? 😉
 * Try changing:
 *     ```
       <!--[if IE 7]>
       <link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" />
       <link rel="stylesheet" href="<?php bloginfo('template_directory'); ?>/ie7.css" media="screen" type="text/css" />
       <![endif]-->
       ```
   
 * to
 *     ```
       <!--[if IE 7]>
       <link rel="stylesheet" href="<?php bloginfo('template_directory'); ?>/ie7.css" media="screen" type="text/css" />
       <![endif]-->
       ```
   
 * in header.php. When that’s done, try adding something like:
 * `#nav_menu {position:relative;top:30px;}`
 * to ie7.css and see if that helps.
 *  Thread Starter [iluvpinkerton](https://wordpress.org/support/users/iluvpinkerton/)
 * (@iluvpinkerton)
 * [16 years, 9 months ago](https://wordpress.org/support/topic/padding-issue/#post-1199286)
 * yeah i’m still learning…
 * that did not seem to do the trick.
 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [16 years, 9 months ago](https://wordpress.org/support/topic/padding-issue/#post-1199415)
 * How about:
 * `#nav_menu {margin-top:30px;}`
 *  Thread Starter [iluvpinkerton](https://wordpress.org/support/users/iluvpinkerton/)
 * (@iluvpinkerton)
 * [16 years, 9 months ago](https://wordpress.org/support/topic/padding-issue/#post-1199474)
 * hmm…it seems to work in newer version of IE but not the older ones. Do I need
   to change the IE conditional comment to say something else?
 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [16 years, 9 months ago](https://wordpress.org/support/topic/padding-issue/#post-1199480)
 * The conditional is correct if you only want to target IE7. If you want the same
   CSS to be used by IE6 or below, change it to `<!--[if lte IE 7]>`.
 * I think you’re just going to have to play with paddings and margins on #nav_menu.
   Or try to pull the content block up using a negative top margin or relative position.
 *  Thread Starter [iluvpinkerton](https://wordpress.org/support/users/iluvpinkerton/)
 * (@iluvpinkerton)
 * [16 years, 9 months ago](https://wordpress.org/support/topic/padding-issue/#post-1199546)
 * ok i figured out the problem – the conditional comment was linking to the wrong
   place. since my IE7 css file was inside my wordpress files. once I fixed the 
   link, i could see the appropriate changes in IE.
 * Thansk!

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

The topic ‘padding issue?’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 6 replies
 * 2 participants
 * Last reply from: [iluvpinkerton](https://wordpress.org/support/users/iluvpinkerton/)
 * Last activity: [16 years, 9 months ago](https://wordpress.org/support/topic/padding-issue/#post-1199546)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
