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;
}
.divmaintop {
border:1px;
border-bottom-style:solid;
/* border:1px solid; For testing purposes*/
height:50px;
text-align:center;
margin: 0 auto;
/* margin: 0 auto; Old way of centering*/
position:absolute;
left:0;
right:0;
}
.divmainbody {
margin:50px;
.divcontent {
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="divmaintop">
<h2>Übersicht</h2>
<hr>
</div>
<div class="divmainbody">
<div class="divcontent">
<p>Test</p>
</div>
</div>