Autosize <div> and disable horizontal scroll

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • damonl73@yahoo.com

    #1

    Autosize <div> and disable horizontal scroll

    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.

  • Mick White

    #2
    Re: Autosize &lt;div&gt; and disable horizontal scroll

    damonl73@yahoo. com wrote:
    [color=blue]
    > 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?[/color]

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

    Mick

    Comment

    Working...