i want to expand the nav element and the main content flemen to the full webpage width. From the picture it currently shows that there are still some white space even after the width had been set to 100%. Does anyone have any suggestiopns on what could be causing this? Im not sure what the reason is for this, can anyone give me suggestions?
Thank you
*{
margin 0px;
padding: 0px;
}
.dev {
border-style: dotted;
}
.box {
background-color: deepskyblue;
width: 40%;
height: 50px;
float: left;
padding: 10px;
}
.inner {
border-style: dotted;
height: 60px;
}
.nav{
margin-right: 50px;
}
div.nav li{
display: inline-block;
list-style-type: none;
}
div.inner_dropdown {
display: none;
position: absolute;
}
div.inner_dropdown a{
color: black;
display: block;
text-align: left;
}
li.container_drop{
display: block;
padding-right: 10px;
}
li.container_drop:hover .inner_dropdown {
display: block;
}
ul.navbarul{
float: right;
}
.navbar{
list-style-type: none;
background-color: lightblue;
width: 100%;
margin: 0;
overflow: auto;
border-color: orange;
border-top-style: solid;
}
.fixer_frame{
height: 200px;
}
.fixer_frame{
}
.navbar_frame{
margin-top: 50px;
padding-left: 25%;
width: 50%;
}
.main_frame{
width: 100%;
overflow: auto;
background-color: cadetblue;
}
ul.mf_navbarul li{
display: inline-block;
}
.mf_content_frame{
position: absolute;
height: 50px;
width: 50%;
box-sizing: border-box;
}
.navbar_frame div{
display: block;
}
.mf_content{
width: 100%;
height: 500px;
background-color: beige;
}
.full_container{
width: 100%;
}
</style>
<div class="navbar">
<ul class="navbarul">
<div class="nav">
<li>Parent link 1</li>
<li>Parent link 2</li>
<li class="container_drop">
Parent link 3
<div class="inner_dropdown ">
<a href="#">Child link 1</a>
<a href="#">Child link 2</a>
<a href="#">Child link 3</a>
</div>
</li>
<div>
</div>
<div>
<div>
</ul>
</div>
<div class="main_frame">
<div class="navbar_frame">
<div class="mf_navbar">
<ul class="mf_navbarul">
<li>Link 1</li>
<li>Link 2</li>
<li class="container_drop">Link 3
</ul>
</div>
<div class="mf_content"></div>
</div>
</div>