Autosize <div> and disable horizontal scroll

Discussion in 'Javascript' started by damonl73@yahoo.com, Jan 14, 2005.

  1. Guest

    Hi. I have a table inside a <div> tag. The table is dynamically
    created in ASP. I would like to have the div container grow with the
    table horizontally. I just want the vertical scroll bar. Is tis
    possible? Thanks.
     
    , Jan 14, 2005
    #1
    1. Advertising

  2. Mick White Guest

    wrote:

    > Hi. I have a table inside a <div> tag. The table is dynamically
    > created in ASP. I would like to have the div container grow with the
    > table horizontally. I just want the vertical scroll bar. Is tis
    > possible?


    Yes, if you don't supply a width to the div, it will grow to accommodate
    the table.

    Mick
     
    Mick White, Jan 15, 2005
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. MS News
    Replies:
    1
    Views:
    358
    MS News
    Jul 30, 2003
  2. Jeremy Chapman
    Replies:
    1
    Views:
    982
    szabelin
    Aug 15, 2003
  3. UJ
    Replies:
    1
    Views:
    615
    John Timney \(MVP\)
    Nov 1, 2006
  4. How to avoid horizontal Scroll bar in DIV Tag

    , Sep 14, 2008, in forum: ASP .Net Web Controls
    Replies:
    1
    Views:
    1,359
    Allen Chen [MSFT]
    Sep 16, 2008
  5. Jeroen
    Replies:
    0
    Views:
    223
    Jeroen
    May 6, 2008
Loading...

Share This Page