This is a static dump of issues in the old "Flyspray" bugtracker for DokuWiki. Bugs and feature requests
are now tracked at the issue tracker at Github.
Closed
Implemented
FS#1980 table css overflow
CSS, XHTML, JS, Browsers
2010-06-24lvg
When using een css-box model template large tables are cut off at the adge of the css-box. For the box aan overflow is set to hidden. To make the table visable the complete box has to be overflow:auto so under the box there comes a scroll-bar.
I'd like to have a separate scrollbarr per table crossing the border...
With a hack (adding an additional div) on xhtml.php this is possible:
function table_open($maxcols = NULL, $numrows = NULL){
// initialize the row counter used for classes
$this->_counter['row_counter'] = 0;
$this->doc .= '<div id="table"><table class="inline">'.DOKU_LF;
}
function table_close(){
$this->doc .= '</table></div>'.DOKU_LF;
}
As the default template is flexible and would always show everything of any big table, the styles are not needed for it. But to make it possible to use this solution for template developers with a more restrictive design, I just added a div.table around each table.