Hi Leute,
mein horizontaler Scrollbalken in der ASP.Net Seite will einfach nicht verschwinden.
Der Wert scroll steht auf Auto und alle Width angaben sind überwiegend in % angegeben.
Wenn ich mein Fenster klein mache, sehe ich auch das alle Elemente zusammenschrumpfen, Zeilen umgebrochen werden usw.
Trotzdem bleibt immer ein minimaler Scrollbalken, egal ob vollbild oder nicht.
Was mich ein wenig verwundert ist, dass der balken selbst da ist, wenn ich overflow:hidden im body oder der form stehen habe...??
Hier poste ich einfach mal meine gesamte Seite:
Ich hoffe jemand hat eine gute Idee?
[code language="HTML"]
<body id="body" scroll="auto" runat="server" style="width:auto; margin:0; padding:0; ">
<form id="form1" runat="server" style="width:auto; margin:0; padding:0;" >
<div>
<table style="width: 100%; height: 768px; margin:0; padding:0" cellpadding="0" cellspacing="0">
<tr style="width: 100%; height: 100; ">
<td colspan="2" style="height: 100px; " width="100%">
<table style="width: 100%" cellpadding="0" cellspacing="0" bordercolor="#b3b3b3">
<tr>
<td style="width: 65%; height: 40px;">
<asp:Label ID="headtext" runat="server" Text="IT KNOWLEDGE" ForeColor="#FFCC33" Font-Size="30px" Font-Names="CommerzbankHead" EnableTheming="False"/><asp:Label ID="headtext2" runat="server" Text="BASE" ForeColor="#B3B3B3" Font-Size="30px" Font-Names="CommerzbankHead" EnableTheming="False"/>
</td>
<td style="width: 10%; height: 40px;">
</td>
<td style="width: 25%; height: 40px;">
<img src="App_Themes/Comnet_Design/Images/index_logo.gif" align="right" /></td>
</tr>
<tr height="30px">
<td style="width: 65%" background="#FFCC33" bgcolor="#ffcc33" height="30px">
<asp:Label ID="Label1" runat="server" Font-Names="CommerzbankHead" Font-Size="20px"
ForeColor="White" Text="/ Windows Application Deployment /" EnableTheming="False"></asp:Label>
</td>
<td style="width: 10%" bgcolor="#ffe699" height="30px"></td>
<td style="width: 25%" bgcolor="#fff3cc" height="30px" align="right" nowrap="noWrap">
<asp:HyperLink ID="HyperLink1" runat="server" EnableTheming="True" Font-Names="Verdana" meta:resourcekey="Hyperlink1" Font-Size="11px" ForeColor="#A48200">Kontakt</asp:HyperLink>
<asp:LinkButton ID="Bhome" runat="server" BackColor="Transparent" BorderColor="White"
Text="Home" OnClick="Bhome_Click" meta:resourcekey="Bhome" ForeColor="#A48200" Font-Size="15px" />
<asp:LinkButton ID="Bcomnet" runat="server" BackColor="Transparent" BorderColor="White"
Text="COMNET" meta:resourcekey="BcomnetResource1" Font-Size="15px" />
</td>
</tr>
<tr style="width: 100%; height: 30px">
<td style="width: 100%; border-bottom: #ffcc33 thin solid;" colspan="3" height="30px" align="left" bgcolor="#e5e5e5">
<asp:Button ID="Bfreigabe" runat="server" BackColor="#FFCC33" BorderColor="White" Font-Names="CommerzbankHead" Font-Size="15px" ForeColor="#A48200"
Text="Freigabe" OnClick="Bfreigabe_Click" meta:resourcekey="BfreigabeResource1" EnableTheming="False" Visible="False" style="position: static" />
<asp:Button ID="Bnewprob" runat="server" BackColor="#FFCC33" BorderColor="White"
Text="Neues Problem" OnClick="Bnewprob_Click" meta:resourcekey="BnewprobResource1" Font-Names="CommerzbankHead" Font-Size="15px" ForeColor="#A48200" EnableTheming="False" Visible="False" style="position: static" />
<asp:Button ID="Binbearbeitung" runat="server" BackColor="#FFCC33" BorderColor="White"
Text="Neues Problem" OnClick="Binbearbeitung_Click" meta:resourcekey="Binbearbeitung" Font-Names="CommerzbankHead" Font-Size="15px" ForeColor="#A48200" EnableTheming="False" Visible="False" style="position: static" />
<asp:Button ID="BletzteFreigaben" runat="server" BackColor="#FFCC33" BorderColor="White"
Text="Neues Problem" OnClick="BletzteFreigaben_Click" meta:resourcekey="BletzteFreigabe" Font-Names="CommerzbankHead" Font-Size="15px" ForeColor="#A48200" EnableTheming="False" Visible="False" style="position: static" Enabled="False" />
<asp:Button ID="Bverwaltung" runat="server" BackColor="#FFCC33" BorderColor="White" Font-Names="CommerzbankHead" Font-Size="15px" ForeColor="#A48200"
Text="Admin" OnClick="Bfreigabe_Click" meta:resourcekey="Bverwaltung" EnableTheming="False" Visible="False" style="position: static" PostBackUrl="~/Verwaltung.aspx" /></td>
</tr>
</table>
</td>
</tr>
<tr style="vertical-align: top"; height="924" >
<td style="background-image: url(Images/bg2.gif); height: 600px; border-right: #ffcc33 14px solid; width: 20%;">
<asp:Panel ID="Panel1" runat="server" DefaultButton="Button1" Height="50px" style="vertical-align: top; height: 110px; padding-left: 15px;"
Width="200">
<asp:Label ID="Label3" runat="server" Font-Size="15px" Font-Underline="True"
Text="Volltextsuche" meta:resourcekey="Label3Resource1" Font-Names="CommerzbankHead" ForeColor="#A48200" Font-Bold="True" EnableTheming="False"></asp:Label><br />
<br />
<asp:DropDownList ID="DropDownList1" runat="server" DataTextField="Language" DataValueField="Language_ID"
OnSelectedIndexChanged="DropDownList1_SelectedIndexChanged" meta:resourcekey="DropDownList1Resource1" Font-Names="Verdana" Font-Size="12px" ForeColor="#A48200" style="position: relative">
</asp:DropDownList>
<asp:LinkButton ID="LinkButton1" runat="server" Height="6px"
OnClick="LinkButton1_Click" style="position: relative">Hilfe</asp:LinkButton>
<asp:CheckBox ID="CheckBox1" runat="server" Text="Archiv durchsuchen" OnCheckedChanged="CheckBox1_CheckedChanged" meta:resourcekey="CheckBox1Resource1"
Font-Names="Verdana" Font-Size="12px" ForeColor="#A48200" style="position: relative" />
<asp:TextBox ID="TextBox1" runat="server" Font-Size="12px" Width="172px" meta:resourcekey="TextBox1Resource1"
Font-Names="Verdana" ForeColor="#A48200" style="position: relative"></asp:TextBox><br />
<asp:ImageButton ID="Button1" runat="server" OnClick="Button1_Click" ImageUrl="~/Images/suchen_vorlage.gif" />
</asp:Panel>
<br />
<br />
<asp:Label ID="Label2" runat="server" Text="Kategorien" Font-Size="15px" ForeColor="#A48200" Font-Names="CommerzbankHead" Font-Underline="True"
meta:resourcekey="Label2Resource1" Font-Bold="True" EnableTheming="False"></asp:Label> <br />
<br />
<div align="justify" style="padding-left: 0px; margin-left: 12px; width: 100%; height: 100px">
<asp:TreeView
ID="TreeView1" runat="server"
OnSelectedNodeChanged="TreeView1_SelectedNodeChanged"
ExpandDepth="0"
Height="10px" OnDataBound="TreeView1_DataBound" OnTreeNodeCollapsed="TreeView1_TreeNodeCollapsed" meta:resourcekey="TreeView1Resource1"
OnTreeNodeExpanded="TreeView1_TreeNodeExpanded1" Width="100px" ImageSet="Arrows">
<DataBindings>
<asp:TreeNodeBinding
TextField="Products" ValueField="Products" meta:resourcekey="TreeNodeBindingResource1" />
</DataBindings>
</asp:TreeView>
</div>
<br />
</td>
<td bgcolor="#FFFBF0" style="width: 80%; background-color: #FFFBF0; height: 600px; border-right: #fffbf0 20px solid; border-top: #fffbf0 20px solid; border-left: #fffbf0 20px solid; border-bottom: #fffbf0 20px solid;">
<asp:contentplaceholder id="ContentPlaceHolder1" runat="server"></asp:contentplaceholder></td>
</tr>
</table>
</div>
</form>
</body>
</html>
[/code]