View Single Post
Old 03-31-2010, 07:59 AM   #22
paulpeer
Zealot
paulpeer is on a distinguished road
 
paulpeer's Avatar
 
Posts: 147
Karma: 56
Join Date: Dec 2009
Location: Antwerpen
Device: iPhone, Sony PRS-505, EPUBreader
Quote:
Originally Posted by JayLaFunk View Post

.calibre3 {
display: block;
font-family: monospace;
margin-bottom: 1em;
margin-left: 0;
margin-right: 0;
margin-top: 1em;
white-space: pre
}
Remove the line "white-space: pre" and see what happens.
If this is not enough, change at least the first occurences of
Code:
<pre class="calibre3">bla bla </pre>
into
Code:
<p>bla bla </p>

If you use "pre" all line breaks of the source code are literally followed. Is that what you want to occur?

Last edited by paulpeer; 03-31-2010 at 08:05 AM. Reason: some stuff added
paulpeer is offline   Reply With Quote