View Single Post
Old 07-06-2011, 04:41 AM   #11
AlexBell
Wizard
AlexBell ought to be getting tired of karma fortunes by now.AlexBell ought to be getting tired of karma fortunes by now.AlexBell ought to be getting tired of karma fortunes by now.AlexBell ought to be getting tired of karma fortunes by now.AlexBell ought to be getting tired of karma fortunes by now.AlexBell ought to be getting tired of karma fortunes by now.AlexBell ought to be getting tired of karma fortunes by now.AlexBell ought to be getting tired of karma fortunes by now.AlexBell ought to be getting tired of karma fortunes by now.AlexBell ought to be getting tired of karma fortunes by now.AlexBell ought to be getting tired of karma fortunes by now.
 
AlexBell's Avatar
 
Posts: 3,413
Karma: 13369310
Join Date: May 2008
Location: Launceston, Tasmania
Device: Sony PRS T3, Kobo Glo, Kindle Touch, iPad, Samsung SB 2 tablet
Quote:
Originally Posted by virtual_ink View Post
I haven't Jellby, I'll give it a shot. What are there benefits of using <div> over <p>?


@Alex, I haven't tried the Sony reader yet but iPad have a default setting for 'full justification' - which throws a lot of centered items over to the left margin (its an odd one, as some things remain centered).
I'll respond to both questions if I may - but I'm writing as someone who makes ePub by hand, marking up the source documents into XHTML 1.1 strict and then packaging them into an ePub.

For what is worth I only use <div class="centre"> ....</div> when I am centering several things together like

<div class="centre">
<p>Do you know who made your ebook reader?</p>
<p>Do you know whether they were paid properly and treated fairly?</p>
<p>If not, you could ask the manufacturer.</p>
<p style="margin-top: 1em;">Why it matters &hellip;&hellip;</p>
<p>http://www.guardian.co.uk/<br />
technology/2011/apr/30/<br />
apple-chinese-factory-workers-suicides-humiliation</p>

<p class="larger" style="margin-top: 3em;">Circaidy Gregory Press</p>
<p>www.circaidygregory.co.uk<br />
Independent Books for Independent Readers</p>

</div>


For the second part: I set the justification in the stylesheet - almost all the ebooks I do have the text justified. Do you know whether the iPad's setting over rules the stylesheet?
AlexBell is offline   Reply With Quote