[IPython-dev] Visual representation of SQL extracted data

Mark Voorhies mark.voorhies at ucsf.edu
Fri May 16 00:42:41 EDT 2014


On 05/15/2014 06:39 PM, Simon Cropper wrote:
> Just a follow on question. I note the HTML table rendered within a
> 'frame'. That is, the horizontal scroll bar appeared. Is this
> object/frame able to be changed or controlled?

The scroll bar is due to giving the table a CSS "overflow:auto" attribute:

<TABLE style="overflow: auto; position: relative; float: left; width: 8em">

C.f. http://www.w3.org/TR/CSS21/visufx.html#overflow-clipping

If you change the height/width/overflow attributes, you can vary the behavior.

A List Apart (http://alistapart.com/) is a nice source of CSS hacks.

--Mark





More information about the IPython-dev mailing list