Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

Scrolling blockquote areas?

LKDLKD
edited June 2011 in Vanilla 2.0 - 2.8
I'm trying to create a Vanilla forum that will work for code developers. Two key features are syntax highlighting and scrollable blocktext areas. The source highlighting need should be obvious, and appears to be solved by the Google Code Prettify addon, but scrollable blocktext one is intended to avoid those nasty situations where people must post 100+ lines of code to demonstrate a point (see http://www.gamedev.net/topic/600192-c-templates-and-skill-bar/page__p__4801947#entry4801947 for an example).

I don't immediately see a solution/addon to this. Is this just something I need to tweak in our blockquote CSS?
Tagged:

Best Answer

  • allanjallanj
    Answer ✓
    I haven't tried it, but from a purely CSS point of view, can you do something like:

    > blockquote { max-height: 100em; overflow: scroll }

    Allan

Answers

  • allanjallanj
    Answer ✓
    I haven't tried it, but from a purely CSS point of view, can you do something like:

    > blockquote { max-height: 100em; overflow: scroll }

    Allan
Sign In or Register to comment.