scrollable div

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Peter Cartwright

    scrollable div

    Is there any way of removing or camouflaging the empty horizontal
    scroll track of a scrollable div without affecting the vertical
    scrollbar? Non standard methods would be ok.
  • Andrew Thompson

    #2
    Re: scrollable div

    "Peter Cartwright" <peterct07@yaho o.com> wrote in message
    news:b6141bd7.0 312130653.45756 aa7@posting.goo gle.com...[color=blue]
    > Is there any way of removing or camouflaging the empty horizontal
    > scroll track of a scrollable div without affecting the vertical
    > scrollbar? Non standard methods would be ok.[/color]

    like this?

    <div style="width: 100px; height: 40px; border: solid 1px black; overflow:
    auto" >
    <div style="width: 50px; border: solid 1px red; overflow: visible">
    This is some content of the inner div.
    Have I typed enough to get it to scroll yet?
    </div>
    </div>

    --
    Andrew Thompson
    * http://www.PhySci.org/ PhySci software suite
    * http://www.1point1C.org/ 1.1C - Superluminal!
    * http://www.AThompson.info/andrew/ personal site


    Comment

    • Peter Cartwright

      #3
      Re: scrollable div

      "Andrew Thompson" <andrew64@bigNO SPAMpond.com> wrote in message news:<zhGCb.511 34$aT.4625@news-server.bigpond. net.au>...[color=blue]
      >
      > like this?
      >
      > <div style="width: 100px; height: 40px; border: solid 1px black; overflow:
      > auto" >
      > <div style="width: 50px; border: solid 1px red; overflow: visible">
      > This is some content of the inner div.
      > Have I typed enough to get it to scroll yet?
      > </div>
      > </div>[/color]

      Thanks for that. The single div with overflow:auto meets my need.

      Comment

      Working...