layout problem in asp.net

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • cmrhema
    Contributor
    • Jan 2007
    • 375

    layout problem in asp.net

    Hello
    i want to place some buttons and labels inside the html table control(There are two controls available one simple table and html table).
    When I place the button or label inside the cell and make it static, it moves upwards or out of the table.
    How to rectify.

    thanks
  • ak1dnar
    Recognized Expert Top Contributor
    • Jan 2007
    • 1584

    #2
    Originally posted by cmrhema
    Hello
    i want to place some buttons and labels inside the html table control(There are two controls available one simple table and html table).
    When I place the button or label inside the cell and make it static, it moves upwards or out of the table.
    How to rectify.

    thanks
    Its better to use a designing tool like dreamweaver for this.

    Comment

    • kenobewan
      Recognized Expert Specialist
      • Dec 2006
      • 4871

      #3
      Here is an article that may help:
      ASP.NET Table Control

      Comment

      • hameeduddinasim
        New Member
        • Aug 2007
        • 13

        #4
        Hi

        if u r keep u r controls in any table then , take care that u contorl should not have properties define like height and width or say left or right alignment ,if this properties is define kindly remove it and try

        this will definetly resolve u r issue

        Comment

        • cmrhema
          Contributor
          • Jan 2007
          • 375

          #5
          Originally posted by hameeduddinasim
          Hi

          if u r keep u r controls in any table then , take care that u contorl should not have properties define like height and width or say left or right alignment ,if this properties is define kindly remove it and try

          this will definetly resolve u r issue
          I tried the below way and it works(came to this by trial and error method)
          First design the table(html or otherwise). Do not place controls and set the layout to static both the table as well as the page.
          Now place the cursor to the corresponding cell where you want to place the control(button, label etc). Double click the control, here the control is inside the cell where your cursor was.
          This control will be inside the particular cell it will not jump to the next cell.
          regards

          Comment

          Working...