Quote:
Originally Posted by JLius
Is it a CSS problem, or are there empty paragraphs or breaks between those paragraphs in the html file?
If its in CSS, you can change it to this:
p {
margin: 0;
padding:0;
}
If it's in the html, you can use regex to remove those empty paragraphs or breaks. But I'm no good with regex :-)
|
Actually, for a nook, that CSS is possibly incorrect. What you want is...
Code:
p {
margin-top: 0;
margin-bottom: 0;
text-indent: 1.2em
}
Just remember to set the body correctly and any style with a center needs a text indent of 0. Also, there's no need to set the padding unless you want some padding.
Code:
body {
oeb-column-number: 1;
widows: 0;
orphans: 0;
margin-top: 0;
margin-bottom: 0;
margin-left: 0;
margin-right: 0;
text-align: justify
}
The oeb-column is to keep ADE from going off into two columns when the ADE window is increased enough. It doesn't seem to bother any other ePub compatible reader that I know of.