Tabelle wird richtig angezeigt

This commit is contained in:
ja
2021-11-19 15:59:37 +01:00
parent 2e28bd5937
commit 0a1dd47026
4 changed files with 66 additions and 39 deletions

View File

@@ -33,6 +33,12 @@
width: 53%;
border: 1px solid grey;
}
#conovertab{
margin-left:-38px;width:416px;
}
g-3{
width:100%;
}
@media (max-width: 349.98px) {
body {
max-width: 349.98px;
@@ -52,6 +58,9 @@
width: 53%;
border: 1px solid grey;
}
#conovertab{
margin-left:-38px;width:416px;
}
}
</style>
<!-- Bootstrap CSS -->
@@ -265,10 +274,12 @@
</div>
</div> </div>
<div id="Abstand_laenger" style="height: /*24px*/ 1.873536299765808vh;"></div>
</div></div>
</div>
<asp:Button ID="btn_Auftraege" class="btn-primary" runat="server" Text="Erhalte Aufträge" OnClick="btn_Auftraege_Click" style="background-color:#fff;color:#043381;height:30px;width:221px;font-size:1.33em;" OnClientClick="return verify()"/>
<div id="Abstand_lang" style="height: /*32px*/ 2.498048399687744vh;"></div>
<div class="g-3">
<div id="conovertab" style="overflow-x:auto;"margin-left="-2px">
<div id="conovertab" style="overflow-x:auto;">
<asp:Table class="table table-responsive table-striped table-borderless" id="normaltable" runat="server" BorderWidth="2px">
<asp:TableHeaderRow id="tbl_Header_row" runat="server" style="background-color:#043381;color:#fff">
<asp:TableHeaderCell ID="tbl_HeaderCellIndexNr" runat="server" AbbreviatedText="Index">Index-Nr</asp:TableHeaderCell>
@@ -284,8 +295,7 @@
</div>
</div>
</div></div>
</div>
<br /><br /><br />
<% End If
End If

View File

@@ -102,11 +102,11 @@
<div style="height:0.936768149882904vh"></div>
<div class="col-12" id="con4">
<div class="col-12" id="container2" style="margin-left:2px">
<asp:Label ID="lbl_von" runat="server" ClientIDMode="Predictable">Von:</asp:Label>
<asp:Label ID="lbl_von" runat="server" BorderStyle="None" ClientIDMode="Predictable">Von:</asp:Label>
<asp:TextBox ID="pickdate1" Type="Date" CssClass="classTarget" runat="server" ClientIDMode="Predictable"></asp:TextBox>
<asp:RequiredFieldValidator ControlToValidate="pickdate1" Display="Dynamic" ID="valreq_pickdate1" runat="server" ErrorMessage=""></asp:RequiredFieldValidator>
<asp:CustomValidator runat="server" ID="valdaterage_1" OnServerValidate="valdaterage_1_ServerValidate" ControlToValidate="pickdate1" ForeColor="Red" Display="Dynamic" ErrorMessage="Fehler in Von-Feld" SetFocusOnError="true"></asp:CustomValidator>
<asp:Label ID="lbl_bis" runat="server">Bis:</asp:Label>
<asp:Label ID="lbl_bis" runat="server" BorderStyle="None">Bis:</asp:Label>
<asp:Textbox ID="pickdate2" Type="Date" CssClass="classTarget" runat="server"></asp:Textbox>
<asp:RequiredFieldValidator ControlToValidate="pickdate2" Display="Dynamic" ID="valreq_pickdate2" runat="server" ErrorMessage=""></asp:RequiredFieldValidator>
<asp:CustomValidator ControlToValidate="pickdate2" runat="server" Display="Dynamic" ID="valdaterange_2" OnServerValidate="valdaterange_2_ServerValidate" ErrorMessage="Fehler in Bis-Feld" SetFocusOnError="true"></asp:CustomValidator>
@@ -209,7 +209,7 @@
<asp:Button ID="Button1" CssClass="btn btn-primary" runat="server" Text="Erhalte Rechnungen" OnClick="btn_b_Click" />
<div id="Abstand_lang" style="height: /*32px*/ 2.498048399687744vh;"></div>
<div class="g-3">
<div id="conovertab" style="overflow-x:auto;margin-left:-2px">
<div id="conovertab" style="overflow-x:auto">
<asp:Table class="table table-responsive table-striped table-borderless" ID="normaltable" runat="server" Width="73%" BorderStyle="Solid" style="margin-right:auto;border: 2px solid #043381">
<asp:TableHeaderRow ID="tbl_Header_row" runat="server" style="background-color:#043381;color:#fff">
<asp:TableHeaderCell ID="tbl_HeaderCellIndex" runat="server" AbbreviatedText="Index">Index-Nr</asp:TableHeaderCell>
@@ -224,8 +224,6 @@
</asp:Table>
</div>
</div>
<% End If
End If
End If

View File

@@ -233,8 +233,9 @@ hr{
}
#conovertab {
/* max-width:width:150px 11.25em;*/
margin-left: /*14px*/ 3.0837004405286343vw;
max-width: /*390px;*/ 85.90308370044053vw;
margin-left: -38px;
width: 416px;
overflow-x: auto;
}
#btn_Auftraege {

View File

@@ -77,30 +77,36 @@ ContentPlaceHolder1_Send_Data {
width: 390px;
max-width: 390px;
}
tbody {
font-size: 3.303964757709251vw;
height: auto;
flex-wrap: wrap;
width: 390px;
max-width: 390px;
max-width: 430px;
}
#normaltable {
width: 10%;
}
#conovertab {
/* max-width:width:150px 11.25em;*/
margin-left: /*14px*/ 3.0837004405286343vw;
max-width: /*390px;*/ 85.90308370044053vw;
margin-left: -38px;
width: 416px;
overflow-x: auto;
}
h1 {
color: #043381;
font-size: 22px;
}
h2 {
color: #043381;
font-size: 30px;
}
#containerseiterand {
margin-left: 5px;
margin-right: 5px;
@@ -111,9 +117,11 @@ ContentPlaceHolder1_Send_Data {
.flex-fill {
width: 700px;
}
#cont3 {
width: 700px;
}
#cont4 {
min-width: 750px;
}
@@ -121,37 +129,46 @@ ContentPlaceHolder1_Send_Data {
#pickdate1 {
border: 1px solid #000000;
}
#pickdate1 {
border: 1px solid #000000;
}
.flex-fill {
width: 700px;
}
#cont3 {
width: 700px;
}
#cont4 {
min-width: 750px;
}
tbody {
font-size: 3.303964757709251vw;
height: auto;
flex-wrap: wrap;
width: fit-content;
}
#normaltable {
width: 100%;
}
#ContentPlaceHolder1_conovertab {
/* max-width:width:150px 11.25em;*/
margin-left: /*14px*/ 3.0837004405286343vw;
max-width: /*390px;*/ 85.90308370044053vw;
overflow-x: auto;
}
#ContentPlaceHolder1_Send_Data {
height: 15px;
width: 300px;
}
#ContentPlaceHolder1_lbl_bis {
border: 1px solid #000000;
margin-left: 15px;
@@ -161,6 +178,7 @@ ContentPlaceHolder1_Send_Data {
border: 1px solid #000000;
margin-left: 15px;
}
@media (max-width: 349.98px) {
body {
width: 349.98px;
@@ -180,9 +198,8 @@ ContentPlaceHolder1_Send_Data {
}
#conovertab {
/* max-width:width:150px 11.25em;*/
margin-left: /*14px*/ 3.0837004405286343vw;
max-width: /*390px;*/ 85.90308370044053vw;
margin-left: -38px;
width: 349.98px;
overflow-x: auto;
}
@@ -219,7 +236,7 @@ ContentPlaceHolder1_Send_Data {
border: 1px solid #000000;
}
#pickdate1 {
#pickdate2 {
border: 1px solid #000000;
}
@@ -268,3 +285,4 @@ ContentPlaceHolder1_Send_Data {
margin-left: 15px;
}
}
}