View Single Post
Old 04-08-2015, 06:27 AM   #21
Notjohn
mostly an observer
Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.Notjohn ought to be getting tired of karma fortunes by now.
 
Posts: 1,519
Karma: 987654
Join Date: Dec 2012
Device: Kindle
Quote:
Originally Posted by oiver55 View Post
I have done as thou has commanded.

I put this code in
Code:
  <p class="center"><b>INTRODUCTION</b></p>
And when I switch to book View mode the text is aligned to the left but when I now select the text and click on the center button, its centered and the code looks like this

Code:
 <p class="center" style="text-align: center;"><b>INTRODUCTION</b></p>
Before, that style tag wasn't there. I had the expectation that p class="center" would actually center the text but it seems like the style tag is whats actually doing it
Yes, Sigil will do that if you add a manual styling to a defined style, in this case adding the boldface tag. I don't know if there's a reason for this, but anyhow it does no harm.

Sometimes Sigil will also add a fresh new style to the CSS to cover just such a situation. Again, no harm done, and indeed there may be a good reason for it.

Sigil is a wonderful software, and the help on this forum is likewise without price, if sometimes over one's head.
Notjohn is offline   Reply With Quote