I've set my header width to 106% to span the entire page length, while the max-width for my body is kept at 95%.
body {
background-color: #333;
max-width: 95%;
font-family: ivyjournal, sans-serif;
margin: 0;
padding: 0;
overflow-x: hidden;
}
header {
width: 106%;
position: relative;
font-family: ivyjournal, sans-serif;
background-color: black;
margin: 0 auto;
}
h1 {
color: white;
position: relative;
font-size: 400%;
font-decoration: none;
font-style: italic;
font-weight: lighter;
left: 50px;
top: 10px;
padding: 0;
margin: 0 auto;
}
<body>
<header>
<div class="text-logo">
<h1>E.D.D</h1>
</div>
<div id="nav">
<ul>
<li><a href="#">Home</a></li>
<li><a href="#">Services</a>
<li>
<li class="Dropdown">More</li>
</ul>
</div>
</header>
</html>
I've been experimenting with this setup for some time now, but I haven't come across any solutions that address my specific issue. Any insights would be greatly appreciated. Thanks!