View Single Post
Old 05-13-2019, 09:41 PM   #1
lumpynose
Wizard
lumpynose ought to be getting tired of karma fortunes by now.lumpynose ought to be getting tired of karma fortunes by now.lumpynose ought to be getting tired of karma fortunes by now.lumpynose ought to be getting tired of karma fortunes by now.lumpynose ought to be getting tired of karma fortunes by now.lumpynose ought to be getting tired of karma fortunes by now.lumpynose ought to be getting tired of karma fortunes by now.lumpynose ought to be getting tired of karma fortunes by now.lumpynose ought to be getting tired of karma fortunes by now.lumpynose ought to be getting tired of karma fortunes by now.lumpynose ought to be getting tired of karma fortunes by now.
 
Posts: 1,086
Karma: 6719822
Join Date: Jul 2012
Device: Palm Pilot M105
confused about style inheritance

I thought that styling applied to upper level tags was inherited by tags that were enclosed in them. E.g., any styling on the html tag would be inherited by the body tag and/or any styling on the body tag would be inherited by the p tags. But that doesn't seem to be the case. My css file contains

Code:
body {
    font-size: 100%;
    border-bottom: 0;
    border-top: 0;
    margin-bottom: 0;
    margin-top: 0;
    padding-bottom: 0;
    padding-top: 0;
}
p {
    display: block;
    font-size: 1em;
    text-indent: 1.5em;
    text-align: left;
}
But Sigil's previewer is not using them; you can see that they're lighter in this screen capture and have lines through them, while Calibre's editor doesn't show the lighter ones and does show the line through the font-size.

Click image for larger version

Name:	sigil inspector.jpg
Views:	224
Size:	93.0 KB
ID:	171447

Can someone explain to me what's going on?
lumpynose is offline   Reply With Quote