Quote:
Originally Posted by mateo
hmm, not sure what to show you... Well, here's one part.
Code:
<p align="center">C H A P T E R O N E<br>
<img src="ornament.png"><br>
<font size="+2">A Mandate of Salt</font><br>
<br>
</p><font size="+2">O</font>NCE I STOOD on the bank of a rice paddy in rural Sichuan Province, and a lean and aging Chinese peasant, wearing a faded forty-year-old blue jacket issued by the Mao government in the early years of the Revolution, stood knee deep in water and apropos of absolutely nothing shouted defiantly at me, “We Chinese invented many things!”<br>
Now, according to the rules of html the part in between <p> and </p> should be centered, the other text should not. But it is. Not in firefox, but on the kindle it is (indeed, the entire book is centered). i don't know about mobipocket reader, i don't have that.
|
This is not correct html. You have text outside <p></p>. And I assume <br> is not allowed in recent html. The centered text probably occur because the render ignores the </p> tag and assumed that the text belongs to the paragraph.