<html>
<head>
<style type="text/css">
h1{
background-color: red;
margin-top : 10px;
}
div{
background-color:black;
height : 100px;
}
</style>
</head>
<body>
<div>
<h1>Hello World!</h1>
</div>
</body>
This is not my wanted result, i want the h1(Helloworld) to marign with the div, not the body
This is my wanted result: http://img176.imageshack.us/img176/7378/aaawj.png