View Single Post
Old 08-31-2022, 09:40 PM   #25
bookman156
Addict
bookman156 ought to be getting tired of karma fortunes by now.bookman156 ought to be getting tired of karma fortunes by now.bookman156 ought to be getting tired of karma fortunes by now.bookman156 ought to be getting tired of karma fortunes by now.bookman156 ought to be getting tired of karma fortunes by now.bookman156 ought to be getting tired of karma fortunes by now.bookman156 ought to be getting tired of karma fortunes by now.bookman156 ought to be getting tired of karma fortunes by now.bookman156 ought to be getting tired of karma fortunes by now.bookman156 ought to be getting tired of karma fortunes by now.bookman156 ought to be getting tired of karma fortunes by now.
 
Posts: 368
Karma: 1000000
Join Date: Mar 2016
Device: none
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.

Last edited by bookman156; 08-31-2022 at 10:03 PM.
bookman156 is offline   Reply With Quote