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

---

# css padding issue

 *  [davejellyphish](https://wordpress.org/support/users/davejellyphish/)
 * (@davejellyphish)
 * [16 years, 11 months ago](https://wordpress.org/support/topic/css-padding-issue/)
 * hi,
 * With this blog:
 * [http://www.churchfields-farm.co.uk/blog/](http://www.churchfields-farm.co.uk/blog/)
 * the left search and archives list align fine within my browser. I have given 
   the left div a padding of 60
 * But in some peoples browsers the padding seems to have no effect? and they both
   aligh flish to the left div.

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

 *  Thread Starter [davejellyphish](https://wordpress.org/support/users/davejellyphish/)
 * (@davejellyphish)
 * [16 years, 11 months ago](https://wordpress.org/support/topic/css-padding-issue/#post-1127456)
 * sorry it is not a css issue. Am am using carriage returns to place the objects:
 *     ```
       div id="left">
       <ul>
       <?php if ( !function_exists('dynamic_sidebar')
               || !dynamic_sidebar(1) ) : ?>
   
       <p>&nbsp;</p>
       <p>&nbsp;</p>
       <p>&nbsp;</p>
       <p>&nbsp;</p>
   
       <li>
   
       <?php include (TEMPLATEPATH . '/searchform.php'); ?>
   
       </li>
   
       <p>&nbsp;</p>
       <p>&nbsp;</p>
   
       <li>
       			<?php wp_get_archives('type=monthly'); ?>
       			</li>
   
       <?php endif; ?>
   
       </ul>
   
       </div>
       ```
   
 * SO how can I replace these to work in other browsers
 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [16 years, 11 months ago](https://wordpress.org/support/topic/css-padding-issue/#post-1127499)
 * Get rid of all `<p>&nbsp;</p>` lines. It’s a lousy way to add padding/margins
   to anything but especially within an unordered list outside of the `<li></li>`
   markup. That will seriously invalidate the markup – which means that pretty much
   anything could happen in terms of the display cross-browser.
 * Use CSS:
 * `#left ul li {margin-bottom:10px;}`

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

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

 * 2 replies
 * 2 participants
 * Last reply from: [esmi](https://wordpress.org/support/users/esmi/)
 * Last activity: [16 years, 11 months ago](https://wordpress.org/support/topic/css-padding-issue/#post-1127499)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
