View Single Post
Old 01-08-2013, 01:37 PM   #7
Dillinquent
eBook pro
Dillinquent shares his or her toysDillinquent shares his or her toysDillinquent shares his or her toysDillinquent shares his or her toysDillinquent shares his or her toysDillinquent shares his or her toysDillinquent shares his or her toysDillinquent shares his or her toysDillinquent shares his or her toysDillinquent shares his or her toysDillinquent shares his or her toys
 
Dillinquent's Avatar
 
Posts: 71
Karma: 5634
Join Date: Jan 2011
Location: Hertford, UK
Device: PC, iPad, Kindle, Kindle Fire, Galaxy Ace
Quote:
Originally Posted by travger View Post
I want to change the size of the subheading. All is nice until 109%, but as soon as I enter 110% or anything bigger, subheading will be bold. Why?

Code in the css:
Code:
.calibre24 {
    font-size: 109%;
    text-indent:0em;
    text-align:center;
    margin-bottom: 1em;
    margin-left: 3em;
    margin-right: 3em;
    margin-top: 0em
    }
and code in the main text:
Code:
<p class="calibre24">this is subheading</p>

Just made another experiment - when I add font-weight:bold, then the text is much bolder, whatever the size.
So it's not real bold, but just looks bolder than main text both in Sigil and in Calibre viewer.

It's totally mystifying. Does it mean I can't get big thin characters? Seems somehow wrong.
Have you tried putting font-weight:normal; into your style definition?
A lot of HTML rendering engines will automatically embolden headings and large fonts unless you specifically tell them not to.
Dillinquent is offline   Reply With Quote