![]() |
#1 |
Junior Member
![]() Posts: 1
Karma: 10
Join Date: Jun 2024
Device: none
|
Creating a line under chapter number
Hi, I need help.
![]() Selecting the tilde ~ gives a nice little line in Bergamot Ornament. But I’m worried that all epub readers will strip out the Bergamot Ornament typeface. I see these lines with tapered ends in other epubs. Are they using images? Thanks!! |
![]() |
![]() |
![]() |
#2 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,278
Karma: 6700678
Join Date: Sep 2021
Location: Australia
Device: Kobo Libra 2
|
There are various methods, but it depends on...
1. What type of line you are wanting. Just a simple straight line, or some type of ornamental Fleuron? 2. Which ereader will you be reading it on? Maybe post a screenshot of what you want it to look like. |
![]() |
![]() |
![]() |
#3 |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 30,257
Karma: 57979022
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Or simple, basic CSS ways
Keywords: <hr /> text-decoration: underline (see the 'box model' theory for understanding) border-bottom padding-bottom |
![]() |
![]() |
![]() |
#4 |
the rook, bossing Never.
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,233
Karma: 89531599
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper11
|
And css can have width: 30%; like on an <hr class="small" />
|
![]() |
![]() |
![]() |
#5 |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 30,257
Karma: 57979022
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
|
![]() |
![]() |
![]() |
#6 | |
the rook, bossing Never.
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,233
Karma: 89531599
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper11
|
Quote:
Then no margin-left is needed, but yes the math approach is reliable. Of course maybe the line isn't wanted to be centred, but margin-left: 1.5em;. |
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Creating headers from parent chapter and not section | shlomikalfa | Conversion | 1 | 06-05-2021 05:57 AM |
Number of pages in a chapter | Ashjuk | Sigil | 13 | 12-31-2020 11:59 AM |
Creating Chapter Divisions with Plain Text Files | KitsuneStylinson | Conversion | 6 | 09-02-2012 09:57 AM |
Creating an empty line - which way is better? | NASCARaddicted | ePub | 4 | 10-31-2011 05:24 AM |
Ebook chapter titles: with or without chapter number? | amoroso | Writers' Corner | 16 | 06-14-2011 06:35 AM |