This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > Stylesheets > December 2003 > scrollable div





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author scrollable div
Peter Cartwright

2003-12-13, 5:11 pm

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

2003-12-13, 5:11 pm

"Peter Cartwright" <peterct07@yahoo.com> wrote in message
news:b6141bd7.0312130653.45756aa7@posting.google.com...
quote:

> 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.



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


Peter Cartwright

2003-12-13, 5:12 pm

"Andrew Thompson" <andrew64@bigNOSPAMpond.com> wrote in message news:<zhGCb.51134$aT.4625@news-server.bigpond.net.au>...
quote:

>
> 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>



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


Copyright 2003 - 2008 forum4designers.com  Software forum  Computer Hardware reviews