Hey there, I'm facing an issue with creating a sidenav next to a div containing paragraphs and images. I can't seem to make both the sidenav and the other div appear inline. If anyone has any insights on how to solve this problem or spot what I'm doing wrong, I would really appreciate your help...
Below is the snippet of CSS code I've been working with:
body{
background-color: #404035;
}
header{
height: 50px;
padding: -500px;
}
header h1{
text-align: center;
color: white;
}
#brief-info {
padding-left:250px;
display: inline-block;
}
This is the HTML code snippet for reference:
<body>
<main>
<header>
<h1>ANDRES PACHANO</h1>
</header>
<div class="sidenav">
<a href="index.html" id="home">Home</a>
<a href="">About Me</a>
<a href="">Contact Info</a>
<a href="https://github.com/PaxanoA" target="_blank" id="github">Github</a>
<a href="">Resume</a>
<a href="">Support Me</a>
</div>
<div class="content">
<p id="brief-info">
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod
tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam,
quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo
consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse
cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non
proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
</p>
</div>
</main>
</body>