[RESOLVED] Controlling Overflow:Scroll Bars

admin

Administrator
Staff member
<!-- m --><a class="postlink" href="http://www.thr3emusic.com/dev/">http://www.thr3emusic.com/dev/</a><!-- m -->

I want the box labeled "events" which is a div element to scroll the information within... BUT, each time I view it, i see a horizontal scroll bar at the bottom... There isn't a need to scroll horizontally, but it's still adding it... is there anyway to leave the vertical scroll bar and force the horizonal one to leave?

thanks!
/\/\/Use overflow:auto instead of overflow:scroll. (<!-- m --><a class="postlink" href="http://www.dynamicsitesolutions.com/css/scrolling_element/">http://www.dynamicsitesolutions.com/css ... g_element/</a><!-- m -->)

You should use a complete doctype (one that includes a URL).
<!-- m --><a class="postlink" href="http://hsivonen.iki.fi/doctype/">http://hsivonen.iki.fi/doctype/</a><!-- m -->
<!-- m --><a class="postlink" href="http://www.alistapart.com/articles/doctype/">http://www.alistapart.com/articles/doctype/</a><!-- m -->
<!-- m --><a class="postlink" href="http://www.juicystudio.com/choosing-doctype/">http://www.juicystudio.com/choosing-doctype/</a><!-- m -->
<!-- m --><a class="postlink" href="http://www.w3.org/QA/2002/04/valid-dtd-list.html">http://www.w3.org/QA/2002/04/valid-dtd-list.html</a><!-- m -->

Flash Satay: Embedding Flash While Supporting Standards (<!-- m --><a class="postlink" href="http://www.alistapart.com/articles/flashsatay/">http://www.alistapart.com/articles/flashsatay/</a><!-- m -->)thank you for that... i can't believe it was so easy...

i have a second question about those scroll bars, if you have the answer...

can i control what they look like? if so, how... java?

thanks, /\/\/

Use overflow:auto instead of overflow:scroll. (<!-- m --><a class="postlink" href="http://www.dynamicsitesolutions.com/css/scrolling_element/">http://www.dynamicsitesolutions.com/css ... g_element/</a><!-- m -->)

You should use a complete doctype (one that includes a URL).
<!-- m --><a class="postlink" href="http://hsivonen.iki.fi/doctype/">http://hsivonen.iki.fi/doctype/</a><!-- m -->
<!-- m --><a class="postlink" href="http://www.alistapart.com/articles/doctype/">http://www.alistapart.com/articles/doctype/</a><!-- m -->
<!-- m --><a class="postlink" href="http://www.juicystudio.com/choosing-doctype/">http://www.juicystudio.com/choosing-doctype/</a><!-- m -->
<!-- m --><a class="postlink" href="http://www.w3.org/QA/2002/04/valid-dtd-list.html">http://www.w3.org/QA/2002/04/valid-dtd-list.html</a><!-- m -->

Flash Satay: Embedding Flash While Supporting Standards (<!-- m --><a class="postlink" href="http://www.alistapart.com/articles/flashsatay/">http://www.alistapart.com/articles/flashsatay/</a><!-- m -->)Scrollbar Colors (<!-- m --><a class="postlink" href="http://www.dynamicsitesolutions.com/css/scrollbar_colors/">http://www.dynamicsitesolutions.com/css ... ar_colors/</a><!-- m -->)

There are JavaScript scripts to replace the scrollbars, but all of the ones I've seen create accessibility issues, so I discourage the use of that type of script.
 
Top