0

Basically, I need the overflow to behave like "auto", but hiding the scrollbar.

If I use "hidden" I cannot select the text beyond the limit.

2
  • So, sort of like an input box? I don't think that's possible without using an <input> tag directly. Commented Jul 13, 2011 at 23:21
  • More like an iframe. I'd like to include html markup on it, like links and different text colors. Commented Jul 13, 2011 at 23:49

1 Answer 1

1

try using something like this applied to the DIV that you want to control with scrolling.

#foo {
 height: 100px;
 overflow-y; scroll;
 overflow-x: hidden;
 }

If you really want to hide the scrollbar, then replace it with JS or CSS for a blank image?

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.