summaryrefslogtreecommitdiff
path: root/inc/parser
diff options
context:
space:
mode:
authorAnika Henke <anika@selfthinker.org>2010-06-27 12:41:23 +0100
committerAnika Henke <anika@selfthinker.org>2010-06-27 12:41:23 +0100
commita8574918a3bd65683f0a2de4a3f26dd0ec2c410f (patch)
tree0d1ef007f8fb43a56e6056a7cd82e68a2268ab48 /inc/parser
parent1a93c67cff4a7b3e30186141cd17f4ba6e113e84 (diff)
downloadrpg-a8574918a3bd65683f0a2de4a3f26dd0ec2c410f.tar.gz
rpg-a8574918a3bd65683f0a2de4a3f26dd0ec2c410f.tar.bz2
added div around tables to make scrolling too wide ones in restrictive designs possible (FS#1980)
Diffstat (limited to 'inc/parser')
-rw-r--r--inc/parser/xhtml.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/inc/parser/xhtml.php b/inc/parser/xhtml.php
index c5a8b8218..78f6d3f84 100644
--- a/inc/parser/xhtml.php
+++ b/inc/parser/xhtml.php
@@ -906,11 +906,11 @@ class Doku_Renderer_xhtml extends Doku_Renderer {
global $lang;
// initialize the row counter used for classes
$this->_counter['row_counter'] = 0;
- $this->doc .= '<table class="inline ' . $this->startSectionEdit($pos, 'table') . '">'.DOKU_LF;
+ $this->doc .= '<div class="table"><table class="inline ' . $this->startSectionEdit($pos, 'table') . '">'.DOKU_LF;
}
function table_close($pos){
- $this->doc .= '</table>'.DOKU_LF;
+ $this->doc .= '</table></div>'.DOKU_LF;
$this->finishSectionEdit($pos);
}