04-26-2009, 11:37 PM | #1 |
Sir Penguin of Edinburgh
Posts: 12,375
Karma: 23555235
Join Date: Apr 2007
Location: DC Metro area
Device: Shake a stick plus 1
|
Epub and negative indentation
Reference books and dictionaries have negative indentation, i.e. a word in a dictionary sticks out to the left of its definition. I know that in Mobipocket negative indentation can done with: <p width="-X"> . How do I do it in Epub?
I will be posting the cleaned up HTML source files of the various things I download. Given that some of the titles will have over a thousand files, I think it would be best to have it set up properly before I give it to you. |
04-27-2009, 03:23 AM | #2 |
eBook Enthusiast
Posts: 85,544
Karma: 93383043
Join Date: Nov 2006
Location: UK
Device: Kindle Oasis 2, iPad Pro 10.5", iPhone 6
|
It's called a "hanging indent". This should work:
<p style="margin-left:1cm;text-indent:-1cm"> Adjust values to suit. |
Advert | |
|
04-27-2009, 06:02 AM | #3 |
frumious Bandersnatch
Posts: 7,516
Karma: 18512745
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
|
Yep, margins and text-indent can be negative, not padding, though.
|
04-27-2009, 07:03 AM | #4 |
Sir Penguin of Edinburgh
Posts: 12,375
Karma: 23555235
Join Date: Apr 2007
Location: DC Metro area
Device: Shake a stick plus 1
|
Thanks.
Will the hanging indentation work in LRF? |
04-27-2009, 07:13 AM | #5 |
eBook Enthusiast
Posts: 85,544
Karma: 93383043
Join Date: Nov 2006
Location: UK
Device: Kindle Oasis 2, iPad Pro 10.5", iPhone 6
|
I don't know. Try it and see!
|
Advert | |
|
04-27-2009, 10:44 AM | #6 |
Resident Curmudgeon
Posts: 73,983
Karma: 128903378
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
I think it does work in Calibre.
|
04-27-2009, 11:48 AM | #7 |
speaking for myself
Posts: 139
Karma: 2166
Join Date: Feb 2008
Location: San Francisco Bay Area
Device: PRS-505
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Negative publicity | dworth | Writers' Corner | 29 | 09-23-2010 01:59 PM |
Photos are Negative (Inverse) | nickbaer | Calibre | 5 | 03-18-2010 09:26 AM |
PDF conversion & indentation | Shiren | Calibre | 5 | 12-11-2008 02:09 PM |