|
|
#1 |
|
Junior Member
![]() Posts: 5
Karma: 10
Join Date: Jun 2008
Device: Cybook
|
Does anyone know how to make indentions for paragraphs when converting to ePub??? I know that for html documents, you simply put ^t^p, but that doesn't seem to work for ePub format. I've been trying to figure it out for hours! If anyone has ANY ideas please let me know. thanks Kurt_da_nerd |
|
|
|
|
|
#2 |
|
Feedbooks.com Co-Founder
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,263
Karma: 145123
Join Date: Nov 2006
Location: Paris, France
Device: Sony PRS-t-1/350/300/500/505/600/700, Nexus S, iPad
|
Change the properties for p in your CSS file.
|
|
|
|
| Advert | |
|
|
|
|
#3 | |
|
speaking for myself
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 139
Karma: 2166
Join Date: Feb 2008
Location: San Francisco Bay Area
Device: PRS-505
|
Quote:
p { margin: 0px; text-indent: 1em; } This is proper way to do it in HTML as well, BTW. |
|
|
|
|
|
|
#4 |
|
Junior Member
![]() Posts: 5
Karma: 10
Join Date: Jun 2008
Device: Cybook
|
Still having trouble
First off thanks for the replies however, i am still having trouble. i am amble to put that piece of code into my xhtml document, however i cannot figure out how get the new xhtml document back into epub format. that only program that i have that can convert files to epub format is indesign and i cannot figure out how to get an xhtml file back into indesign
i have tried to just put the "text" of the xhtml file into indesign like i would a word document but all that does is create an epub file of the code, and not formatted text. any help is appreciated -kurt_da_nerd |
|
|
|
|
|
#5 | |
|
Feedbooks.com Co-Founder
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,263
Karma: 145123
Join Date: Nov 2006
Location: Paris, France
Device: Sony PRS-t-1/350/300/500/505/600/700, Nexus S, iPad
|
Quote:
|
|
|
|
|
| Advert | |
|
|
|
|
#6 |
|
Junior Member
![]() Posts: 5
Karma: 10
Join Date: Jun 2008
Device: Cybook
|
thanks. However, I am very new to this whole eBook making extravaganza, and I do not know what a CSS style sheet is, or how to access it. could you please give me some tips? Possibly some examples of good programs to use as well?
|
|
|
|
|
|
#7 |
|
reader
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,977
Karma: 5183568
Join Date: Mar 2006
Location: Mississippi, USA
Device: Kindle 3, Kobo Glo HD
|
|
|
|
|
|
|
#8 |
|
Junior Member
![]() Posts: 5
Karma: 10
Join Date: Apr 2010
Device: iPhone
|
CSS in ePub
Although most mobile readers refer to your CSS stylesheet, they ignore paragraph tags in favor of their own settings. I don't know why, and it's maddening.
If you want to force your style choices, use span tags, which are generally respected. For titles and headlines, use heading tags. Here's a FAQ on ePub formatting. |
|
|
|
|
|
#9 | |
|
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,196
Karma: 1281258
Join Date: Sep 2009
Device: PRS-505
|
Quote:
ePub readers recognise <p> and <div> tags just like any renderer and they default to block-level elements, whereas <span> tags default to inline elements (a behaviour which can, of course, be changed). Maybe you should give an example of the code that's been causing you problems. |
|
|
|
|
![]() |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| PRS-650 epub formatting question | scribblenauts | Sony Reader | 11 | 11-01-2010 02:47 PM |
| ePub. Several formatting problems | tibiafry | ePub | 14 | 06-18-2010 12:07 PM |
| ePub to ePub? (preserve formatting) | DrMoze | Calibre | 5 | 03-22-2010 12:25 AM |
| .epub unconventional formatting attempt | gondwild | Calibre | 3 | 02-11-2010 06:39 AM |
| First time formatting an epub from scratch | ghostyjack | ePub | 8 | 11-04-2009 09:16 AM |