View Single Post
Old 01-09-2011, 12:29 PM   #17
jswinden
Nameless Being
 
It would be better to look at the ePub before it is converted by calibre as calibre adds its own strange looking CSS styles. But from what you showed the only thing that I see is the white-space: pre statement. Try changing it to white-space: normal. Also, unless you like monospace text I would delete the font-family: monospace; statement.

Here's a link to a website that discusses the white-space CSS propeties: http://www.w3schools.com/css/pr_text_white-space.asp


Quote:
Originally Posted by coke_o View Post
Ok so here's what I got. The .css file has the following:

@namespace h "http://www.w3.org/1999/xhtml"; .calibre {

display: block;

font-size: 1em;

margin-bottom: 0;

margin-left: 5pt;

margin-right: 5pt;

margin-top: 0;

padding-left: 0;

padding-right: 0;

page-break-before: always

} .calibre1 {

display: block

} .calibre2 {

display: block;

font-family: monospace;

margin-bottom: 1em;

margin-left: 0;

margin-right: 0;

margin-top: 1em;

white-space: pre

}

Can any of this be causing the text not to wrap? If so, what can I edit? As soon as I figure out how, I will post a pic of how the book looks.

Last edited by jswinden; 01-09-2011 at 12:35 PM.
  Reply With Quote