Quote:
Originally Posted by blackxacto
Opened an ebook in Sigil 0.7.4
Selected Styles/Stylesheet.css
I see several styles, example: .calibre1, .calibre11
I see paragraph headings: H1, H2 etc.
What is the difference in the two style types above?
If I want to make a certain subhead always center, do I change the paragraph, or the associated .calibre#? In the sample below, where is the "center" instructions to go?
.calibre11 {
display: block;
font-size: 1.125em;
font-weight: bold;
line-height: 1.2;
margin: 3em 0 1em
}
|
Add to the style you posted, the following:
Code:
.calibre11 {
text-align: center; /* new property to add */
text-indent: 0; /* new property to add */
display: block;
font-size: 1.125em;
font-weight: bold;
line-height: 1.2;
margin: 3em 0 1em
}
After that, all text with the style "calibre11" will be centered.
Regards
Rubén