You are here :


Thursday, 30. August 2007 10:26:43, by Pierre HOPQUIN


How to prevent the <pre>code</pre> of overflowing on the right, in the DOKUWIKI theme

In this theme, I've noticed that too long sentences were overflowing on the right part of the site when you preformat them.

To prevent this , edit your style.css in you theme/dokuwiki directory and seek this :

#content pre
 font-family : Courier;
 font-size : 12px;
 background-color: #dee7ec;
 overflow: auto;

Adding overflow: auto; will make scrollbars appear when the sentences are too long for the site display.