View Single Post
Old 03-25-2008, 07:50 PM   #453
tompe
Grand Sorcerer
tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.
 
Posts: 7,452
Karma: 7185064
Join Date: Oct 2007
Location: Linköpng, Sweden
Device: Kindle Voyage, Nexus 5, Kindle PW
Quote:
Originally Posted by mateo View Post
hmm, not sure what to show you... Well, here's one part.

Code:
<p align="center">C&nbsp;H&nbsp;A&nbsp;P&nbsp;T&nbsp;E&nbsp;R&nbsp;&nbsp;&nbsp;O&nbsp;N&nbsp;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.
tompe is offline   Reply With Quote