-2

I have three divs. One as a container and two inside the first one is the header wish is a bit bigger, the second one is text.

Both are set to margin: 0px;, but still there is a 4cm gap between them. The container is also set to margin: 0px;; I also tried making them <h3> and <p> with margin: 0px; but that did not work either. What can I do?

<div class='over'>".rubrik."</div><div class='under'>".inledning."</div><a href='post.php?id=".id."'></a></div>"; CSS: MARGIN:0PX; I MISSED COPYING THE STARTING DIV TAG HERE

1 Answers1

0

Are you using a CSS reset with your CSS?

http://cssreset.com/

Since browsers usually have there own default styles.

Override reset.css with browser defaults

Community
  • 1
  • 1
Craig Stroman
  • 197
  • 2
  • 5