|
|
#1 |
|
bay
![]() Posts: 17
Karma: 10
Join Date: May 2013
Device: ipad mini+samsung galaxi
|
Sigil / CSS3 / Text formating
Hi again,
I tryed to use : p { widows: 3; orphans: 5; } and @font-face { font-family:'Futura'; font-size: 100%; font-style:normal; font-weight:normal; src : url("../Fonts/FuturaLT.ttf"); } But I still have one line sometimes ... abd regarding the font. the title (h1 / h2/ etc...) works, but not the p text. I really don't understand. Do you have a good tutorial online ? regards, bay |
|
|
|
|
|
#2 |
|
A Hairy Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,397
Karma: 20212733
Join Date: Dec 2012
Location: Charleston, SC today
Device: iPhone 15/11/X/6/iPad 1,2,Air & Air Pro/Surface Pro/Kindle PW & Fire
|
There are multiple good tutorials. Try the link to the wiki at the top of the page, and you can try w3schools.
Off the top of my head, your orphans and widows should go in the @page tag, not in the p tag. |
|
|
|
| Advert | |
|
|
|
|
#3 | |
|
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 31,264
Karma: 61916422
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
font-size: of 100%, 1em ... is normally implied. and subject to inheritance |
|
|
|
|
|
|
#4 |
|
bay
![]() Posts: 17
Karma: 10
Join Date: May 2013
Device: ipad mini+samsung galaxi
|
Yes, and yes... Definitely.
W3 School is really nice website. Many thanks ! |
|
|
|
![]() |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| HTML5/CSS3 support in Sigil 7/Qt 5 | Doitsu | Sigil | 1 | 04-22-2013 06:45 PM |
| text problems Sigil? | ralphiedee | Sigil | 14 | 08-09-2012 05:30 AM |
| ABBYY Finereader and text formating | Student1 | Workshop | 6 | 12-15-2011 07:37 PM |
| formating text for mac users | jetreader | News | 1 | 07-24-2009 12:06 PM |
| Formating only-text pdf files | Tibor | Calibre | 1 | 01-28-2009 01:30 PM |