By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,487 Members | 1,074 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,487 IT Pros & Developers. It's quick & easy.

scrollable div

P: n/a
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.
Jul 20 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
"Peter Cartwright" <pe*******@yahoo.com> wrote in message
news:b6**************************@posting.google.c om...
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
Jul 20 '05 #2

P: n/a
"Andrew Thompson" <an******@bigNOSPAMpond.com> wrote in message news:<zh*****************@news-server.bigpond.net.au>...

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.
Jul 20 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.