Ja jeg ved at den kan opføre sig lidt underligt engang imellem. Men her ser det jo fint ud hvis jeg holder stylesheetet ude. Så jeg er tilbøjelig til at tro at det er mig der har fejlen.
Mit stylesheet ser sådan ud:
.Overskrift
{
position:relative;
left: 350px;
}
.Hide
{
visibility:hidden;
}
#Table2
{
visibility:hidden;
}
#Table1
{
visibility:hidden;
}
#Table5
{
visibility:hidden;
}
Formen ser således ud: (I head vil der så ligge et link til stylesheetet)
<HEAD>
<title>Noget</title>
<meta content="Microsoft Visual Studio .NET 7.1" name="GENERATOR">
<meta content="Visual Basic .NET 7.1" name="CODE_LANGUAGE">
<meta content="JavaScript" name="vs_defaultClientScript">
<meta content="
http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
</HEAD>
<body bgColor="#e7e7db" MS_POSITIONING="GridLayout">
<form id="Form1" style="TEXT-ALIGN: left" method="post" runat="server">
<TABLE id="Table2" style="Z-INDEX: 100; LEFT: 0px; WIDTH: 420px; POSITION: absolute; TOP: 80px; HEIGHT: 22px"
cellSpacing="1" cellPadding="1" border="0">
<TR>
<TD style="WIDTH: 149px" colSpan="1"><asp:button id="btnOpdater" runat="server" Text="Refresh" Width="144px" Height="20px"></asp:button></TD>
<TD style="WIDTH: 125px"><INPUT id="btnPrint" style="WIDTH: 120px; HEIGHT: 20px" onclick="window.print()" type="button"
value="Print all"></TD>
<TD><asp:button id="btnUdskrivKontoUdtog" runat="server" Text="Print selected" Width="120px" Height="20px"
Visible="False"></asp:button></TD>
</TR>
</TABLE>
<TABLE id="Table1" style="Z-INDEX: 101; LEFT: 8px; WIDTH: 560px; POSITION: absolute; TOP: 8px; HEIGHT: 24px"
cellSpacing="1" cellPadding="1" border="0">
<TR>
<TD style="WIDTH: 96px"><asp:label id="Label3" runat="server" Font-Names="Arial" Font-Size="10pt" Font-Bold="True">Currency</asp:label></TD>
<TD style="WIDTH: 85px"><asp:radiobutton id="radiobtn_all" runat="server" Text="All" Visible="False" Font-Names="Arial" Font-Size="10pt"
AutoPostBack="True" GroupName="valg"></asp:radiobutton></TD>
<TD><asp:radiobutton id="radiobtn_dkk" runat="server" Text="DKK" Font-Names="Arial" Font-Size="10pt"
AutoPostBack="True" GroupName="valg"></asp:radiobutton></TD>
<TD><asp:radiobutton id="radiobtn_eur" runat="server" Text="EUR" Font-Names="Arial" Font-Size="10pt"
AutoPostBack="True" GroupName="valg"></asp:radiobutton></TD>
<TD><asp:radiobutton id="radiobtn_usd" runat="server" Text="USD" Font-Names="Arial" Font-Size="10pt"
AutoPostBack="True" GroupName="valg"></asp:radiobutton></TD>
</TR>
</TABLE>
<P>
<TABLE id="Table4" style="Z-INDEX: 102; LEFT: 0px; WIDTH: 100%; POSITION: absolute; TOP: 120px; HEIGHT: 76px"
cellSpacing="0" cellPadding="0" width="568" border="0">
<TR>
<TD>
<P><uc1:controlsamling id="ControlSamling1" runat="server"></uc1:controlsamling></P>
</TD>
</TR>
<TR>
<TD>
<TABLE id="Table5" style="Z-INDEX: 100; LEFT: 0px; WIDTH: 420px; POSITION: absolute" cellSpacing="1"
cellPadding="1" border="0">
<TR>
<TD style="WIDTH: 149px"><asp:button id="btnOpdaterBund" runat="server" Text="Refresh" Width="144px" Height="20px"></asp:button></TD>
<TD style="WIDTH: 125px"><INPUT id="btnPrint2" style="WIDTH: 120px; HEIGHT: 20px" onclick="window.print()" type="button"
value="Print all"></TD>
<TD><asp:button id="btnUdskrivKontoUdtogBund" runat="server" Text="Print selected" Width="120px"
Height="20px" Visible="False"></asp:button></TD>
</TR>
</TABLE>
</TD>
</TR>
</TABLE>
<asp:label id="lblHeader" style="Z-INDEX: 104; LEFT: 424px; POSITION: absolute; TOP: 48px"
runat="server" Font-Names="Arial" Font-Size="16pt" Font-Bold="True" CssClass=".Overskrift">List of liabilities</asp:label></P>
</form>
</body>
Håber det giver nogen mening :)