HTML table on aspx web form

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Nedu N

    HTML table on aspx web form

    Hi,

    I want to put a HTML table on aspx webform so that i can place my header,
    menu, footer user controls appropriately.
    I got 3 user controls
    header.ascx
    menu.ascx
    footer.ascx

    I trying to put a HTML table with width 100% and height 100% -
    first row - height 10% for header ascx
    next row - height 10% for menu.ascx
    next row - height 70% for page content
    last row - height 10% for footer.ascx..

    the problem i am facing is that header anfd footer ascx's are showing fine
    appropriately, but the menu ascx..is getting displayed somewhere randomly on
    the page.

    Any idea on this...or is there any other way to arrange this....

    Thanks
    Nedu


  • Kevin Spencer

    #2
    Re: HTML table on aspx web form

    Sounds like you may have used absolute positioning on that Control. Check
    the Style attribute.

    --
    HTH,
    Kevin Spencer
    ..Net Developer
    Microsoft MVP
    Big things are made up
    of lots of little things.

    "Nedu N" <nedu_n@hotmail .com> wrote in message
    news:#0DAgRbvDH A.3144@tk2msftn gp13.phx.gbl...[color=blue]
    > Hi,
    >
    > I want to put a HTML table on aspx webform so that i can place my header,
    > menu, footer user controls appropriately.
    > I got 3 user controls
    > header.ascx
    > menu.ascx
    > footer.ascx
    >
    > I trying to put a HTML table with width 100% and height 100% -
    > first row - height 10% for header ascx
    > next row - height 10% for menu.ascx
    > next row - height 70% for page content
    > last row - height 10% for footer.ascx..
    >
    > the problem i am facing is that header anfd footer ascx's are showing fine
    > appropriately, but the menu ascx..is getting displayed somewhere randomly[/color]
    on[color=blue]
    > the page.
    >
    > Any idea on this...or is there any other way to arrange this....
    >
    > Thanks
    > Nedu
    >
    >[/color]


    Comment

    • Nedu N

      #3
      Re: HTML table on aspx web form

      style attribute of aspx or ascx?


      "Kevin Spencer" <kevin@takempis .com> wrote in message
      news:u%23Jg1kbv DHA.1340@TK2MSF TNGP09.phx.gbl. ..[color=blue]
      > Sounds like you may have used absolute positioning on that Control. Check
      > the Style attribute.
      >
      > --
      > HTH,
      > Kevin Spencer
      > .Net Developer
      > Microsoft MVP
      > Big things are made up
      > of lots of little things.
      >
      > "Nedu N" <nedu_n@hotmail .com> wrote in message
      > news:#0DAgRbvDH A.3144@tk2msftn gp13.phx.gbl...[color=green]
      > > Hi,
      > >
      > > I want to put a HTML table on aspx webform so that i can place my[/color][/color]
      header,[color=blue][color=green]
      > > menu, footer user controls appropriately.
      > > I got 3 user controls
      > > header.ascx
      > > menu.ascx
      > > footer.ascx
      > >
      > > I trying to put a HTML table with width 100% and height 100% -
      > > first row - height 10% for header ascx
      > > next row - height 10% for menu.ascx
      > > next row - height 70% for page content
      > > last row - height 10% for footer.ascx..
      > >
      > > the problem i am facing is that header anfd footer ascx's are showing[/color][/color]
      fine[color=blue][color=green]
      > > appropriately, but the menu ascx..is getting displayed somewhere[/color][/color]
      randomly[color=blue]
      > on[color=green]
      > > the page.
      > >
      > > Any idea on this...or is there any other way to arrange this....
      > >
      > > Thanks
      > > Nedu
      > >
      > >[/color]
      >
      >[/color]


      Comment

      • Kevin Spencer

        #4
        Re: HTML table on aspx web form

        Most probably you'll find it in the Page template (aspx), or whatever User
        Control (ascx) you put it in. Of course, if you had just looked, you would
        already know by now.

        --
        HTH,
        Kevin Spencer
        ..Net Developer
        Microsoft MVP
        Big things are made up
        of lots of little things.

        "Nedu N" <nedu_n@hotmail .com> wrote in message
        news:upWRT9bvDH A.2712@TK2MSFTN GP11.phx.gbl...[color=blue]
        > style attribute of aspx or ascx?
        >
        >
        > "Kevin Spencer" <kevin@takempis .com> wrote in message
        > news:u%23Jg1kbv DHA.1340@TK2MSF TNGP09.phx.gbl. ..[color=green]
        > > Sounds like you may have used absolute positioning on that Control.[/color][/color]
        Check[color=blue][color=green]
        > > the Style attribute.
        > >
        > > --
        > > HTH,
        > > Kevin Spencer
        > > .Net Developer
        > > Microsoft MVP
        > > Big things are made up
        > > of lots of little things.
        > >
        > > "Nedu N" <nedu_n@hotmail .com> wrote in message
        > > news:#0DAgRbvDH A.3144@tk2msftn gp13.phx.gbl...[color=darkred]
        > > > Hi,
        > > >
        > > > I want to put a HTML table on aspx webform so that i can place my[/color][/color]
        > header,[color=green][color=darkred]
        > > > menu, footer user controls appropriately.
        > > > I got 3 user controls
        > > > header.ascx
        > > > menu.ascx
        > > > footer.ascx
        > > >
        > > > I trying to put a HTML table with width 100% and height 100% -
        > > > first row - height 10% for header ascx
        > > > next row - height 10% for menu.ascx
        > > > next row - height 70% for page content
        > > > last row - height 10% for footer.ascx..
        > > >
        > > > the problem i am facing is that header anfd footer ascx's are showing[/color][/color]
        > fine[color=green][color=darkred]
        > > > appropriately, but the menu ascx..is getting displayed somewhere[/color][/color]
        > randomly[color=green]
        > > on[color=darkred]
        > > > the page.
        > > >
        > > > Any idea on this...or is there any other way to arrange this....
        > > >
        > > > Thanks
        > > > Nedu
        > > >
        > > >[/color]
        > >
        > >[/color]
        >
        >[/color]


        Comment

        • Jeffrey Tan[MSFT]

          #5
          RE: HTML table on aspx web form


          Hi Nedu,

          Thanks for posting in this group.
          Just as Kevin stated, I think your problem related to absolute positioning.
          The article how to approach the challenges in designing a menu control, it
          may help you:

          /aspnet-buildmenuserver control.asp

          Best regards,
          Jeffrey Tan
          Microsoft Support Engineer
          This posting is provided "AS IS" with no warranties, and confers no rights.


          Comment

          Working...