Added hr, cleaned up css

This commit is contained in:
unknown 2022-03-22 15:46:52 +01:00
parent 8cc6f17a7d
commit 0962b1662b
2 changed files with 20 additions and 7 deletions

View File

@ -32,14 +32,25 @@ h2 {
justify-content: center; justify-content: center;
} }
.divmaintop { .divmaintop {
border:1px; /* border:1px solid; For testing purposes*/
border-bottom-style:solid;
height:50px; height:50px;
text-align:center; text-align:center;
margin: 0 auto; /* margin: 0 auto; Old way of centering*/
position:absolute;
left:0;
right:0;
} }
.divmainbody { .divcontent {
margin:50px;
border:1px solid; border:1px solid;
height:100%; position:absolute;
left:0;
right:0;
}
hr {
margin: 0em;
}
h2 {
margin-bottom: 0em;
} }

View File

@ -25,8 +25,10 @@
<div class="divmain"> <div class="divmain">
<div class="divmaintop"> <div class="divmaintop">
<h2>Übersicht</h2> <h2>Übersicht</h2>
<hr>
</div> </div>
<div class="divmainbody"> <div class="divcontent">
<p>Test</p>
</div> </div>
</div> </div>