Quote:
You mentioned padding on an epigraph page. Could you post your padding settings for that?
|
Here is my various epigraph CSS:
Code:
p.epigraph {
padding-top: 8em;
text-indent: 0;
text-align: center;
}
p.epigraph1 {
padding-top: 0.8em;
text-indent: 0;
text-align: center;
}
p.epigraph2 {
padding-top: 2em;
text-indent: 0;
text-align: center;
}
p.epigraphleft {
padding-top: 8em;
text-indent: 0;
text-align: left;
}
p.epigraphright {
padding-top: 0.8em;
padding-right: 1em;
text-indent: 0;
text-align: right;
}
The 0.8em bits are for the attribution name with a little space after the quote. The 2em is for a second epigraph on the same page as an 8em one. Obviously I may alter depending on length of epigraph after testing.
I originally had the padding as margins, but altering the margin of the page in an ereader can totally collapse an epigraph margin so it's now at the top of the page instead of where I want it to be. By using padding it is unaffected.