![]() |
#16 |
Running with scissors
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,584
Karma: 14328510
Join Date: Nov 2019
Device: none
|
|
![]() |
![]() |
![]() |
#17 | |
Running with scissors
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,584
Karma: 14328510
Join Date: Nov 2019
Device: none
|
Quote:
|
|
![]() |
![]() |
![]() |
#18 | |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 312
Karma: 3196258
Join Date: Oct 2015
Location: Madison, WI
Device: Kindle 5th Gen
|
Quote:
|
|
![]() |
![]() |
![]() |
#19 | |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,577
Karma: 145863177
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
<blockquote class="blockquote"> (using the CSS I posted for .blockquote) has a bottom margin of 0. That means no whitespace after the last line of the blockquote at the end of the chapter. |
|
![]() |
![]() |
![]() |
#20 | |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 312
Karma: 3196258
Join Date: Oct 2015
Location: Madison, WI
Device: Kindle 5th Gen
|
Quote:
Last edited by phillipgessert; 03-18-2022 at 09:22 PM. |
|
![]() |
![]() |
![]() |
#21 | |||
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,611
Karma: 9500498
Join Date: Sep 2021
Location: Australia
Device: Kobo Libra 2
|
Hi all, and thank you for the responses. I have noted your comments and have been playing with the blockquote and I will be using it in future instead of a "fake" quote.
Quote:
Quote:
Its weird because I have looked back at some other books I have reformatted, and the quotes using the same class rule work in some books, but not in others. I cannot see what is causing it. My stylesheet.css is copied from book to book, with only minor changes (italics for a heading for example) I don't see a setting for Publisher's styling or similar. Only a setting for Publishers Default for font. What makes a xhtml file a HTML5 file? Quote:
|
|||
![]() |
![]() |
![]() |
#22 | |
A Hairy Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,339
Karma: 20171571
Join Date: Dec 2012
Location: Charleston, SC today
Device: iPhone 15/11/X/6/iPad 1,2,Air & Air Pro/Surface Pro/Kindle PW & Fire
|
Quote:
![]() Edit: OK, I didn't see this second page when I first posted. You explained it was at the bottom of a chapter and not the page...so that makes more sense. And, phillipgessert already mentioned that there was no difference in the css...so at least I'm not going outta my mind. Sometimes I just can't tell if you are saying something to be funny - like I do at home all the time!! Although if it were me I would give it a more descriptive class name so you can understand what it is: <blockquote class="bottomOfChapter"> Cheers! Last edited by Turtle91; 03-18-2022 at 11:10 PM. |
|
![]() |
![]() |
![]() |
#23 | |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 312
Karma: 3196258
Join Date: Oct 2015
Location: Madison, WI
Device: Kindle 5th Gen
|
Quote:
Last edited by phillipgessert; 03-19-2022 at 09:40 AM. |
|
![]() |
![]() |
![]() |
#24 | |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 681
Karma: 929286
Join Date: Apr 2014
Device: PW-3, iPad, Android phone
|
Quote:
div.blockquote {margin:1em;} Then S&R <blockquote> to <div class="blockquote"> and </blockquote> to </div> Add other formatting (font-size, text-align, text-indent) to the def to taste. Div will work equally with raw text or child tags. Often blockquote tags are used not for actual quotes, but as a way to add margins to e.g. a dedication. Bad form generally, but it will work even if CSS is ignored. |
|
![]() |
![]() |
![]() |
#25 | |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,577
Karma: 145863177
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
Code:
.blockquote { margin-top: 1em; margin-right: 1.5em; margin-bottom: 0; margin-left: 1.5em; } |
|
![]() |
![]() |
![]() |
#26 | |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,577
Karma: 145863177
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
|
|
![]() |
![]() |
![]() |
#27 | ||
A Hairy Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,339
Karma: 20171571
Join Date: Dec 2012
Location: Charleston, SC today
Device: iPhone 15/11/X/6/iPad 1,2,Air & Air Pro/Surface Pro/Kindle PW & Fire
|
Quote:
Perhaps a better way of stating this would be: Quote:
![]() [/pedantry] Last edited by Turtle91; 03-23-2022 at 01:41 PM. |
||
![]() |
![]() |
![]() |
#28 | |
Bookmaker & Cat Slave
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11,503
Karma: 158448243
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
|
Quote:
We can and should do better, if for no other reason than trust me, in one-two years, you won't remember what the hell you thought you were doing with span class X and p class Y. :-) I learnt that lesson long ago, when I got back ePUBs for revision and thought "what the holy hell was I thinking?" Better to use commenting and to clearly name what we're doing. Laziness is all well and good if it won't come back to bite you in the ass, but in my line of work, I can say that ass-biting is all too often a result. Hitch |
|
![]() |
![]() |
![]() |
#29 | |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,577
Karma: 145863177
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
![]() |
|
![]() |
![]() |
![]() |
#30 | |
A Hairy Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,339
Karma: 20171571
Join Date: Dec 2012
Location: Charleston, SC today
Device: iPhone 15/11/X/6/iPad 1,2,Air & Air Pro/Surface Pro/Kindle PW & Fire
|
Quote:
|
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
change British quotes to American quotes | lumpynose | Sigil | 3 | 08-28-2019 12:20 PM |
Quotes/smart quotes in S&R | MerlinMama | Editor | 7 | 07-19-2016 11:00 PM |
How to convert straight quotes to smart 'curly' typographer's quotes | bookman156 | ePub | 52 | 06-20-2016 03:09 PM |
Change single quotes to double quotes | Elfwreck | Workshop | 16 | 04-26-2013 10:06 AM |
convert straight quotes to curly quotes | alansplace | Calibre | 3 | 09-25-2010 03:51 PM |