From the course: EPUB: CSS
Unlock the full course today
Join today to access over 22,400 courses taught by industry experts or purchase this course individually.
Working with sizing
- In this movie, I'm going to be taking a look at font sizing. I'm using the file CSS Text.epub which is available in the Exercise Files for this Chapter if you're a premium subscriber to the Lynda.com online training library. Although, you could use any file of your own. I've also chosen for this title to use Calibre as my editor, although, you could equally use Sigil or anything else that you could find to edit this. So, I'm in this simple file, just here, not a lot going on in here, in fact, if I go through the start page, just there, couple of different headings of different sizes, so an h1 and h2, and a couple of diff-- also, a different paragraph's in there, and I'm going to go to the Style sheet for this book, which at the moment, is completely empty. So I'm going to set a basic rule for the paragraph text. I'm just going to complete my braces there, again, that's a personal thing, I don't like to run the risk of leaving them open, and I'm going to do a font-size declaration…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
Understanding the special environment of the EPUB reading system2m 22s
-
Looking at the essential text-related properties3m 1s
-
Working with sizing3m 31s
-
Working with alignment2m 8s
-
Including margins and padding5m 59s
-
Styling a heading5m
-
Working with fine typographic controls4m 40s
-
Including paragraph indents1m 44s
-
Handling text hyphens, widows, and orphans4m 1s
-
Working with additional font properties6m 8s
-
-
-
-