From 63bf841e918c47ea0e5a8653e812d7025a0f0925 Mon Sep 17 00:00:00 2001 From: Carsten Dominik Date: Mon, 14 Jul 2008 12:00:43 -0700 Subject: [PATCH] Automatic overflow handling for
 fields.

This is a change in the default HTML style.  Fields that
are too wide will not get a scroll bar.
---
 lisp/ChangeLog  | 3 +++
 lisp/org-exp.el | 1 +
 2 files changed, 4 insertions(+)

diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index d7bc802ab..8cb67c0e9 100755
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,5 +1,8 @@
 2008-07-14  Carsten Dominik  
 
+	* org-exp.el (org-export-html-style-default): Automatic overflow
+	handling for pre fields.
+
 	* org-table.el (org-table-export): Offer completion for translator
 	functions, and do not require a heading above the table.
 
diff --git a/lisp/org-exp.el b/lisp/org-exp.el
index e629eeffa..c2b99b504 100644
--- a/lisp/org-exp.el
+++ b/lisp/org-exp.el
@@ -489,6 +489,7 @@ Org-mode file."
 	padding: 5pt;
 	font-family: courier, monospace;
         font-size: 90%;
+        overflow:auto;
   }
   table { border-collapse: collapse; }
   td, th { vertical-align: top; }