1 Replies - 742 Views - Last Post: 01 July 2011 - 11:49 PM

#1 oneal.michaels  Icon User is offline

  • D.I.C Head
  • member icon

Reputation: 4
  • View blog
  • Posts: 116
  • Joined: 25-June 10

How can I get rid of the space in between two elements?

Posted 01 July 2011 - 11:13 PM

I have been trying my hardest to get rid of that little gap in between the dividers at the top of the page and they will not go away, it would be amazing if anyone could help me out with this! :)

Here is the page : http://tradezilla.co.cc

here is my style sheet : http://tradezilla.co.cc/style.css

and here is the code for that divider

<div class="ad">
<div class="post_top"></div><div class="" style="width:735px; height:90px;padding:5px 0px 5px 0px !important;background-image:url('../img/post.png');margin:0px auto 0px auto !important;">
<?php 
    $rand = rand(1,1);
    require("$rand"); 
?>
</div><div class="post_bottom"></div>
</div>



Is This A Good Question/Topic? 0
  • +

Replies To: How can I get rid of the space in between two elements?

#2 oneal.michaels  Icon User is offline

  • D.I.C Head
  • member icon

Reputation: 4
  • View blog
  • Posts: 116
  • Joined: 25-June 10

Re: How can I get rid of the space in between two elements?

Posted 01 July 2011 - 11:49 PM

nvm :) fixed itt! I was missing my class attribute, i forgot i removed it for a second to fix the margins :)
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1