Everything for the welcome-section id works. When I apply the same properties to the other id, project1, the margin property does not work at all. Please guide on what I am doing wrong.
#main {}
#project1 {
background-color: rgba(235, 232, 223, 1);
margin-top: 1000px;
height: 2500px;
}
#welcome-section {
background-color: rgba(214, 210, 197, 0.7);
margin: 25px 25px 25px 25px;
text-align: center;
height: 50px;
font-family: "Lucida Sans Unicode", "Lucida Grande", sans-serif;
vertical-align: middle;
display: table-cell;
width: 850px;
font-size: 120%;
font-weight: bold;
color: ;
border-style: dotted;
border-color: blue;
text-shadow: 2px 2px 5px powderblue;
}
<body id='main'>
<header>
<navbar id='nav-bar'></navbar><br>
<h1 id='welcome-section'>
How can I help your business grow?</h1>
</header>
<br>
<projects id='projects'>
<project1 id='project1'>
<projectt id='prjctt'>Desalination in Balochistan</projectt>
<proimg id='proimg'></proimg>
</project1>
</projects>
</body>
You can see it here: