Änderungen Css nun sind alle Fenster zentriert horizontal und vertikal

This commit is contained in:
ja
2021-11-23 09:17:34 +01:00
parent 4c3e583008
commit 2e65a873f2
5 changed files with 66 additions and 28 deletions

View File

@@ -8,8 +8,7 @@
background-repeat: no-repeat;
background-attachment: fixed;
background-size: cover;
background-color: #fff;
overflow: clip;
background-color: #fff;
}
#Login1_LoginButton {
color: #fff;
@@ -18,24 +17,19 @@
margin: 0px 0px 0px 0px;
}
#content_container {
width: 100%;
height: 100%;
position: absolute;
display: 690px;
justify-content: center;
align-items: center;
width: 100%;
height: 100%;
margin: 0 auto;
margin: 0 auto;
}
.container-fluid {
width: 400px;
height: 300px;
background-color: rgba(255,255,255,0.5);
top: 50%;
bottom: auto;
left: -20%;
right: 520px;
margin: 0 auto;
margin-top:370px;
width: 405px;
height: 613px;
position:relative;
background-color: rgba(255,255,255,0.5);
}
#tbl_main {
font-family: Arial;
@@ -43,6 +37,23 @@
border: 1px solid gray;
width: 400px;
height: 270px;
/* The magic centering code */
margin: auto;
position: absolute;
top: 0;
bottom: 0; /* Aligns Vertically - Remove for Horizontal Only */
left: 0;
right: 0; /* Aligns Horizontally - Remove for Vertical Only */
/* Prevent div from overflowing main window */
max-width: 100%;
max-height: 100%;
overflow: auto;
}
/* IE 7 and Below */
:first-child + html .absoluteCenter,
* html .absoluteCenter {
/* Place code here to override all above values, and add IE friendly centering */
}
#lbl_Ueberschrift {
background-color: #003680;