Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Sigil

Notices

Reply
 
Thread Tools Search this Thread
Old 05-27-2013, 08:16 AM   #1
rbay
bay
rbay began at the beginning.
 
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
rbay is offline   Reply With Quote
Old 05-27-2013, 08:35 AM   #2
Turtle91
A Hairy Wizard
Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.
 
Turtle91's Avatar
 
Posts: 3,347
Karma: 20171571
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.
Turtle91 is offline   Reply With Quote
Advert
Old 05-27-2013, 09:28 AM   #3
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 31,047
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by rbay View Post
Hi again,

I tryed to use :

p {
font-family: "Futura";
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
font-size does not belong in an @font
font-size: of 100%, 1em ... is normally implied. and subject to inheritance
theducks is offline   Reply With Quote
Old 05-27-2013, 02:03 PM   #4
rbay
bay
rbay began at the beginning.
 
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 !
rbay is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
HTML5/CSS3 support in Sigil 7/Qt 5 Doitsu Sigil 1 04-22-2013 05:45 PM
text problems Sigil? ralphiedee Sigil 14 08-09-2012 04:30 AM
ABBYY Finereader and text formating Student1 Workshop 6 12-15-2011 06:37 PM
formating text for mac users jetreader News 1 07-24-2009 11:06 AM
Formating only-text pdf files Tibor Calibre 1 01-28-2009 12:30 PM


All times are GMT -4. The time now is 06:45 AM.


MobileRead.com is a privately owned, operated and funded community.