[IPython-dev] output cell in html notebook with limited height and width with scroll bar

Massimo Di Stefano massimodisasha@gmail....
Wed Apr 4 11:57:37 CDT 2012

I don't know if on topic,  but the pandas feature to print out the 'dataframe' in a html table
has already this capabilities, e.g.. if the output is long it add a scrollbar in the cell where the output is printed out.

Il giorno Apr 4, 2012, alle ore 12:41 PM, Brian Granger ha scritto:

> Yes, we need to think about the best way to size the output cells and
> have them scroll.  Could you open a ticket for that?
> On Wed, Apr 4, 2012 at 9:38 AM, Chen-Shan Chin <cschin@infoecho.net> wrote:
>> Hi, All:
>> Does it make sense to support output cell with some pre-specified sizes for the output cell? If the output is bigger than the size specified, using the scroll bar so a user can see the full results using finite space of the screen real estate.  This will make navigation of the code easier if the output is long.  Any thought about this?
>> I tried to hack the CSS a little by putting overflow: auto or overflow: scroll and the max-height property for the output cell.  It seems working well in Safari but not Firefox.  (The <pre> element in Firefox does not seem to respect the max-height property of its container.)
>> --Jason
>> _______________________________________________
>> IPython-dev mailing list
>> IPython-dev@scipy.org
>> http://mail.scipy.org/mailman/listinfo/ipython-dev
> -- 
> Brian E. Granger
> Cal Poly State University, San Luis Obispo
> bgranger@calpoly.edu and ellisonbg@gmail.com
> _______________________________________________
> IPython-dev mailing list
> IPython-dev@scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev

More information about the IPython-dev mailing list