Title: CSS Help
Last modified: August 19, 2016

---

# CSS Help

 *  [zamurai](https://wordpress.org/support/users/zamurai/)
 * (@zamurai)
 * [16 years, 6 months ago](https://wordpress.org/support/topic/css-help-10/)
 * Hi, I was trying to make a new theme, but I have some problems with CSS.
 * When I tried to place “margin: 100px 0 0 0” for CSS “des”, it will will push 
   everything down to 100px from top. I thought it will only affect the part of 
   class=”des”?
 * Please Help.
 * Thank You
 * My HTML
 *     ```
       <body>
       <div id="wrapper">
       	<div class="header">
       		<div class="logo">
       			<a href="<?php echo get_option('home'); ?>/">
       				<img src="<?php bloginfo('template_url'); ?>/img/Untitled-1.png" alt="<?php bloginfo('name'); ?>- <?php bloginfo('description'); ?>" title="" /></a>
       		</div>
   
       		<div class="des">
       			<?php bloginfo('description'); ?>
       		</div>
       	</div>
       </div>
   
       </body>
       </html>
       ```
   
 * My CSS
 *     ```
       body{
       background: #fff url(img/backback.png) repeat-x top left;
       margin:0;
       padding:0;
       }
   
       .logo img{
       width:200px;
       height:100px;
       border:0;
       padding:0;
       border-style:none;
       display:block;
       float:left;
       clear:both;
       margin:0 0 0 150px;}
   
       .des {
       margin:0 0 0 0;
       padding:0;
       }
       ```
   

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

 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [16 years, 6 months ago](https://wordpress.org/support/topic/css-help-10/#post-1258384)
 * Site url?
 *  Thread Starter [zamurai](https://wordpress.org/support/users/zamurai/)
 * (@zamurai)
 * [16 years, 6 months ago](https://wordpress.org/support/topic/css-help-10/#post-1258451)
 * Hi esmi,
 * [http://zinjaninja.co.cc/](http://zinjaninja.co.cc/)
 * Thanks
 * -zamurai-
 *  Thread Starter [zamurai](https://wordpress.org/support/users/zamurai/)
 * (@zamurai)
 * [16 years, 6 months ago](https://wordpress.org/support/topic/css-help-10/#post-1258489)
 * I tried including “clear:both;” and “float:right;” to .des section of CSS, causing
   everything to push down from top.
 * Please help.
 * -zamurai-
 *  [henkholland](https://wordpress.org/support/users/henkholland/)
 * (@henkholland)
 * [16 years, 6 months ago](https://wordpress.org/support/topic/css-help-10/#post-1258559)
 * In FF only the logo and description are pushed down, not the black bar. In IE
   it looks fine allthough in both I only see a header section and nothing else,
   but that is obvious from your “html”.
 *  [Peter Boosten](https://wordpress.org/support/users/pboosten/)
 * (@pboosten)
 * [16 years, 6 months ago](https://wordpress.org/support/topic/css-help-10/#post-1258560)
 * You could have des float left as well, but you would have to specify a margin-
   top to the image.
 * Peter
 *  Thread Starter [zamurai](https://wordpress.org/support/users/zamurai/)
 * (@zamurai)
 * [16 years, 6 months ago](https://wordpress.org/support/topic/css-help-10/#post-1258562)
 * Hmmm, I get get it now.
 * Thanks guys.
 * -zamurai-

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

The topic ‘CSS Help’ is closed to new replies.

## Tags

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

 * 6 replies
 * 4 participants
 * Last reply from: [zamurai](https://wordpress.org/support/users/zamurai/)
 * Last activity: [16 years, 6 months ago](https://wordpress.org/support/topic/css-help-10/#post-1258562)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
