View Single Post
Old 01-09-2011, 04:18 PM   #18
coke_o
Member
coke_o began at the beginning.
 
Posts: 14
Karma: 10
Join Date: Jan 2011
Device: nook
Quote:
Originally Posted by jswinden View Post
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
Alright, so I tried removing the "font-family: monospace;" line and changing "white-space: pre" to "white-space: normal" and when I go to close the file, I get a window that says "Sigil currently cannot save files of type "css". Please choose a different format."

If I ignore this and go back to the "Tweak ePub" window on Calibre and click on "Rebuild ePub" nothing changes. Well, the text doesn't look monoblock, but it still doesn't wrap. If I choose "Tweak ePub" again, the "font-family" goes back to monospace and the "white-space" goes back to pre.

What am I doing wrong?

Attached Thumbnails
Click image for larger version

Name:	Window 1.jpg
Views:	212
Size:	18.0 KB
ID:	64451   Click image for larger version

Name:	Window 2.jpg
Views:	210
Size:	17.0 KB
ID:	64452  

Last edited by coke_o; 01-09-2011 at 04:19 PM. Reason: added screen shot of the windows.
coke_o is offline   Reply With Quote