View Single Post
Old 03-19-2010, 08:54 AM   #1
JayLaFunk
Connoisseur
JayLaFunk will become famous soon enoughJayLaFunk will become famous soon enoughJayLaFunk will become famous soon enoughJayLaFunk will become famous soon enoughJayLaFunk will become famous soon enoughJayLaFunk will become famous soon enough
 
JayLaFunk's Avatar
 
Posts: 94
Karma: 538
Join Date: Nov 2009
Device: iPad
Removing unwanted white space

Hi Valloric,

First of all thanks for your app been using for search & replace to clean up some ebooks but I have a few ebooks that I need to clean up and remove unwanted white spaces, I am opening them up in Sigil in code view and I'm trying to use the tip below but I can't see yellow color text in code view, this will prob be a very easy thing to do to for most people but I'm not that clued up to editing, could someone post a screen grab and show me how to do what I want...

Regards
Jay

To remove the white space between the paragraphs, add this to the bottom of the CSS code (the yellow color text in the Code View):

p {margin: 0; padding: 0;}

This will affect only the paragraph spacing. To remove all the whitespace between the various elements and make the document look more "book like", use this code:

body, div, p, h1, h2, h3, h4 { margin: 0; padding: 0; }
JayLaFunk is offline   Reply With Quote