unable to move table in the form VB.NET

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • zeeshanks
    New Member
    • Dec 2007
    • 26

    unable to move table in the form VB.NET

    Hello,
    I cannot move the table from one point to another. It seems its fixed. I checked the properties and it looks fine to me.

    Following is the html code for the table:

    <asp:table id="Table2" runat="server" BorderStyle="So lid" BorderWidth="1" Width="607px">
    <asp:TableRow >
    <asp:TableCel l Width="90px" Font-Bold="True" HorizontalAlign ="Center" Text="Title"></asp:TableCell>
    <asp:TableCel l Width="120px" Font-Bold="True" Text="Author"></asp:TableCell>
    <asp:TableCel l Width="65px" Font-Bold="True" HorizontalAlign ="Center" Text="Price"></asp:TableCell>
    <asp:TableCel l Width="80px" Font-Bold="True" HorizontalAlign ="Center" Text="Item ID"></asp:TableCell>
    </asp:TableRow>
    </asp:table>

    Can anyone please help.
  • thenmozhivasanraj
    New Member
    • Dec 2007
    • 11

    #2
    include the style property to position the table refer the following code

    <asp:table id="Table2" runat="server" BorderStyle="So lid" BorderWidth="1" Width="607px" style="z-index: 100; left: 28px; position: absolute; top: 29px">
    <asp:TableRow >
    <asp:TableCel l Width="90px" Font-Bold="True" HorizontalAlign ="Center" Text="Title"></asp:TableCell>
    <asp:TableCel l Width="120px" Font-Bold="True" Text="Author"></asp:TableCell>
    <asp:TableCel l Width="65px" Font-Bold="True" HorizontalAlign ="Center" Text="Price"></asp:TableCell>
    <asp:TableCel l Width="80px" Font-Bold="True" HorizontalAlign ="Center" Text="Item ID"></asp:TableCell>
    </asp:TableRow>
    </asp:table>

    Comment

    • zeeshanks
      New Member
      • Dec 2007
      • 26

      #3
      Hello,

      Thanks for your reply. Okay by setting the style property it does change the location of the table but cant i do it by moving the table object in the design view? I have to add other objects on the form so it would be tedious to change the style property all the time.

      Thanks,
      Zee


      Originally posted by thenmozhivasanr aj
      include the style property to position the table refer the following code

      <asp:table id="Table2" runat="server" BorderStyle="So lid" BorderWidth="1" Width="607px" style="z-index: 100; left: 28px; position: absolute; top: 29px">
      <asp:TableRow >
      <asp:TableCel l Width="90px" Font-Bold="True" HorizontalAlign ="Center" Text="Title"></asp:TableCell>
      <asp:TableCel l Width="120px" Font-Bold="True" Text="Author"></asp:TableCell>
      <asp:TableCel l Width="65px" Font-Bold="True" HorizontalAlign ="Center" Text="Price"></asp:TableCell>
      <asp:TableCel l Width="80px" Font-Bold="True" HorizontalAlign ="Center" Text="Item ID"></asp:TableCell>
      </asp:TableRow>
      </asp:table>

      Comment

      Working...