![]() |
#1 |
Junior Member
![]() Posts: 3
Karma: 10
Join Date: Apr 2012
Device: none
|
Empty heading
Hi everyone!
I've a doubt: Is correct to leave empty a heading? Could it be ignored for some readers or in the transformation to another formats (.mobi, etc.)? I show you what I want to use: Code:
<h3 title="Author"></h3> |
![]() |
![]() |
![]() |
#2 |
frumious Bandersnatch
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,543
Karma: 19001583
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
|
Yes, it's possible. But what do you want it for, just for creating an automatic TOC with Sigil? In that case, I'd suggest adding "display: none" to its style, so it is not displayed at all.
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Junior Member
![]() Posts: 3
Karma: 10
Join Date: Apr 2012
Device: none
|
Yes, it is for creating an automatic TOC. Thank you very much for the display:none tip! I haven't thought about it...
|
![]() |
![]() |
![]() |
#4 |
Color me gone
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,089
Karma: 1445295
Join Date: Apr 2008
Location: Central Oregon Coast
Device: PRS-300
|
With the Sony, display:none can be tricky. In the text it doesn't display but it does cause extra space in the line. I know this because Project Gutenberg Canada inserts page numbers, then marks them as display:none.
So just be sure when you have used it, your text is still displayed as you want. |
![]() |
![]() |
![]() |
#5 |
frumious Bandersnatch
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,543
Karma: 19001583
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
|
Probably does not insert space, but causes surrounding spaces not to collapse:
Usually, two spaces should display as a single one: Code:
two spaces Code:
two <span class="pagenum">123</span> spaces
In this case, it would be better to include one of the spaces inside the span: Code:
two <span class="pagenum">123 </span>spaces
|
![]() |
![]() |
Advert | |
|
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Keyboard shortcuts for heading styles? | Tryphan | Sigil | 4 | 09-26-2011 06:54 AM |
Recomendation about Heading in Sigil | sergiodongala | Sigil | 6 | 07-06-2011 08:12 PM |
'Heading color' and 'p class span' | mufc | Recipes | 7 | 12-22-2010 09:02 PM |
yet another heading question | jhempel24 | Sigil | 3 | 11-25-2010 07:58 AM |
Kindle Heading to Best Buy | kindle79 | Amazon Kindle | 2 | 09-09-2010 04:22 PM |