Quote:
Originally Posted by virtual_ink
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 ……</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?