I'm creating a simple admin console consisting of 3 divs. One div (usersearch) extends to the entire width of the page whilst the 2 remaining divs (privset, privrules) must be next to each other 50:50.
Upon loading the page, only one div shows whilst the other is pushed somewhere else.
<style>
body {
padding:0%;
margin:0%;
overflow: hidden;
}
header {
background-color:black;
color:white;
text-align:center;
padding:5px;
}
#usersearch {
border-bottom: medium solid;
position: relative;
width: 100%;
height: 40vh;
}
#privset{
border-right: medium solid;
position: relative;
width: 50vw;
height: 100vh;
}
#privrules{
float:right;
position: relative;
width: 50vw;
height: 100vh;
}
footer {
background-color:black;
color:white;
clear:both;
text-align:center;
padding:5px;
position: absolute;
bottom:0;
left:0;
right:0;
}
</style>
HTML below
<div id="usersearch">Customer Information</div>
<div id="privset">Priv set</div>
<div id="privrules">Priv rules</div>