![]() |
#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,502
Karma: 9202958
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,683
Karma: 58985420
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 |
Reading till the spring
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,120
Karma: 97346127
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper
|
And css can have width: 30%; like on an <hr class="small" />
|
![]() |
![]() |
![]() |
#5 |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 30,683
Karma: 58985420
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
|
![]() |
![]() |
![]() |
#6 | |
Reading till the spring
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,120
Karma: 97346127
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper
|
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 06:57 AM |
Number of pages in a chapter | Ashjuk | Sigil | 13 | 12-31-2020 12:59 PM |
Creating Chapter Divisions with Plain Text Files | KitsuneStylinson | Conversion | 6 | 09-02-2012 10:57 AM |
Creating an empty line - which way is better? | NASCARaddicted | ePub | 4 | 10-31-2011 06:24 AM |
Ebook chapter titles: with or without chapter number? | amoroso | Writers' Corner | 16 | 06-14-2011 07:35 AM |