|
|
#1 |
|
Member
![]() Posts: 15
Karma: 10
Join Date: Oct 2009
Location: Brasil
Device: ETI-2
|
ebook publisher & blockquotes
The attached image shows what I am ending up with: Below is the code I am using: Code:
<STYLE TYPE="text/css">
td.coverpage {width:100%; height:445px; text-align:center; vertical-align:middle}
h1.booktitle {margin-top:15%}
h3.author {margin-top:5%}
h3.book {margin-top:7%}
p.blockquote {margin-top:1.5ex; margin-bottom:1.5ex; margin-left:3.5em; margin-right:3.5em}
p.blockquote_begin {margin-top:1.5ex; margin-left:3.5em; margin-right:3.5em}
p.blockquote_mid {margin-top:0.5ex; margin-left:3.5em; margin-right:3.5em}
p.blockquote_end {margin-top:0.5ex; margin-bottom:1.5ex; margin-left:3.5em; margin-right:3.5em}
.pagebreak {page-break-before:always}
header {display:none; display:oeb-page-head}
span.header {font-size:x-small}
span.footer {font-size:x-small}
footer {display:none; display:oeb-page-foot}
</style>
<P class="blockquote_begin">The Great Depression of 2020 fostered a revival of organized crime. The black market in technology surpassed drugs and prostitution to become the primary source of revenue for these criminals.</P>
<P class="blockquote_end"> <b>Dr. Jessica Owen-Wells</b>, The Great Depression of 2020, copyright 2041, American Historical Society </P>
<P class="blockquote_begin">In creating the thinking machine, man has made the last step in submission to mechanization; and his final abdication before this product of his own ingenuity has given him a new object of worship: a cybernetic god.</P>
<P class="blockquote_end"><b> Lewis Mumford</b>, The Transformations of Man, 1956 </P>
<br>
Chauncey |
|
|
|
|
|
#2 |
|
GuteBook/Mobi2IMP Creator
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,955
Karma: 2530531
Join Date: Dec 2007
Location: Toronto, Canada
Device: REB1200 EBW1150 Device: T1 NSTG iLiad_v2 NC Device: Asus_TF Next1 WPDN
|
Do you realize that blockquote is a reserved HTML tag name i.e. <blockquote> ... </blockquote>? It indents both left and right margins at the same time. Perhaps try that instead. ![]() (see the second and third images attached which use blockquotes for each paragraph and nested blockquotes, respectively.) I attach a .imp ebook made using just blockquotes as per this HTML code: Code:
<STYLE TYPE="text/css">
td.coverpage {width:100%; height:445px; text-align:center; vertical-align:middle}
h1.booktitle {margin-top:15%}
h3.author {margin-top:5%}
h3.book {margin-top:7%}
p.blockquote {margin-top:1.5ex; margin-bottom:1.5ex; margin-left:3.5em; margin-right:3.5em}
p.blockquote_begin {margin-top:1.5ex; margin-left:3.5em; margin-right:3.5em}
p.blockquote_mid {margin-top:0.5ex; margin-left:3.5em; margin-right:3.5em}
p.blockquote_end {margin-top:0.5ex; margin-bottom:1.5ex; margin-left:3.5em; margin-right:3.5em}
.pagebreak {page-break-before:always}
header {display:none; display:oeb-page-head}
span.header {font-size:x-small}
span.footer {font-size:x-small}
footer {display:none; display:oeb-page-foot}
</style>
<br>
<blockquote>The Great Depression of 2020 fostered a revival of organized crime. The black market in technology surpassed drugs and prostitution to become the primary source of revenue for these criminals.</blockquote>
<blockquote><b>Dr. Jessica Owen-Wells</b>, The Great Depression of 2020, copyright 2041, American Historical Society </blockquote>
<blockquote>In creating the thinking machine, man has made the last step in submission to mechanization; and his final abdication before this product of his own ingenuity has given him a new object of worship: a cybernetic god.</blockquote>
<blockquote><b> Lewis Mumford</b>, The Transformations of Man, 1956 </blockquote>
<br>
<br class="pagebreak">
<blockquote>The Great Depression of 2020 fostered a revival of organized crime. The black market in technology surpassed drugs and prostitution to become the primary source of revenue for these criminals.<br>
<blockquote><b>Dr. Jessica Owen-Wells</b>, The Great Depression of 2020, copyright 2041, American Historical Society <br>
<blockquote>In creating the thinking machine, man has made the last step in submission to mechanization; and his final abdication before this product of his own ingenuity has given him a new object of worship: a cybernetic god.<br>
<blockquote><b> Lewis Mumford</b>, The Transformations of Man, 1956 </blockquote></blockquote></blockquote></blockquote>
<br>
Are you trying to reproduce that with your code using <p> only? If you want the text justified you might want to add the style "text-align: justify" to your <p> lines. Your HTML code works for me as per the attached first image. ![]() Perhaps, you need to use the most recent version of eBook Publisher (v2.3.15) available for download here. What exactly would you like to see your HTML code do?
__________________
-Nick ‹The REB1200 Guy› Last edited by nrapallo; 01-28-2010 at 09:34 PM. Reason: typo |
|
|
|
|
Enthusiast
|
|
|
|
#3 |
|
Member
![]() Posts: 15
Karma: 10
Join Date: Oct 2009
Location: Brasil
Device: ETI-2
|
Blockquotes
Once again thanks for the fast responce.
LOL I do this work on three different computers, when I tried the code at home using eBook Publisher ver 2.3.9 it worked like a charm. (sorry) As for why I want to use the code <p class="blockquote">? Well I use Editpad Pro and using it's clip function in allows me to insert ( class="blockquote") inside the <p> very quickly and I don't have to move to the end of the line and insert </blockquote> the </p> closes the blockquote. My library is on another computer but I bastardized a text up to show where I am using it...I haven't checked out poems yet so until I come up with something better it works Chauncey |
|
|
|
|
|
#4 | |
|
GuteBook/Mobi2IMP Creator
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,955
Karma: 2530531
Join Date: Dec 2007
Location: Toronto, Canada
Device: REB1200 EBW1150 Device: T1 NSTG iLiad_v2 NC Device: Asus_TF Next1 WPDN
|
You're welcome! I too like using HTML code to produce .imp ebooks; it offers so much flexibility and styling to one's personal tastes.
![]() Quote:
Code:
p.blockquote {font-style:italic;text-align:justify;margin-top:1.5ex; margin-bottom:1.5ex; margin-left:3.5em; margin-right:3.5em}
__________________
-Nick ‹The REB1200 Guy› |
|
|
|
|
|
|
#5 | |
|
Member
![]() Posts: 15
Karma: 10
Join Date: Oct 2009
Location: Brasil
Device: ETI-2
|
I have decided to revisit this posting in case anyone else has a similar problem. The code shown above does indeed result in the correct first line placement, however I had more code after the style coding which I didn't include:
Quote:
Chauncey |
|
|
|
|
|
|
#6 | |
|
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 8,695
Karma: 3644259
Join Date: Aug 2007
Location: Grass Valley, CA
Device: EB 1150, EZ Reader, Literati, iPad 2
|
Quote:
Dale
__________________
Dale DePriest http://pages.suddenlink.net/dalede or http://daledepriest.wikispaces.com currently using an EZ Reader or a Literati or my iPad. |
|
|
|
|
![]() |
| Thread Tools | Search this Thread |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Centering blockquotes | ghostyjack | ePub | 4 | 03-25-2010 06:16 AM |
| Publisher 'Prentice Hall' & DRM Frustrations | fbrII | News | 8 | 11-25-2009 11:38 AM |
| New Ebook Publisher | kennyc | News | 2 | 10-15-2009 09:41 AM |
| EBook Publisher Calls BS On Apple’s EBook Plans | Nate the great | News | 31 | 10-13-2009 05:59 AM |
| Reference eBook Technologies: eBook Publisher 2.2 Windows Users Guide. IMP. v1.0 14 Sept 2007 | DaleDe | IMP Books | 7 | 02-19-2008 08:09 PM |