I have a code snippet that contains styling information for two div elements. How can I ensure that my <div id="home">
appears below my <div id="navigate"
? Any suggestions?
#home {
background-color: black;
color: grey;
text-align: center;
font-size: 20px;
}
#navigate {
margin-top: 20px;
border-style: solid;
border-width: 3px;
border-radius: 15px;
border-color: grey;
z-index: 0;
}
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" href="style-sheet/index.css"></link>
<script src="scr/index.js"></script>
</head>
<body>
<div>
<div id="navigate">
<div id="home">Home</div>
</div>
<div id="page">
</div>
</div>
</body>
</html>