Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Formats > ePub

Notices

Reply
 
Thread Tools Search this Thread
Old 04-28-2012, 04:44 AM   #1
Elle518
Junior Member
Elle518 began at the beginning.
 
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>
Thank you very much!!!
Elle518 is offline   Reply With Quote
Old 04-28-2012, 06:14 AM   #2
Jellby
frumious Bandersnatch
Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.
 
Jellby's Avatar
 
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.
Jellby is offline   Reply With Quote
Advert
Old 05-01-2012, 05:44 AM   #3
Elle518
Junior Member
Elle518 began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Apr 2012
Device: none
Quote:
Originally Posted by Jellby View Post
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.
Yes, it is for creating an automatic TOC. Thank you very much for the display:none tip! I haven't thought about it...
Elle518 is offline   Reply With Quote
Old 05-01-2012, 06:52 AM   #4
mrmikel
Color me gone
mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.
 
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.
mrmikel is offline   Reply With Quote
Old 05-01-2012, 11:24 AM   #5
Jellby
frumious Bandersnatch
Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.
 
Jellby's Avatar
 
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
but if there is anything between those two spaces, even if it's something with "display: none", then they are not two consecutive spaces anymore, and they are displayed as a wider space:

Code:
two <span class="pagenum">123</span> spaces
(where "span.pagenum" is set to "display: none").

In this case, it would be better to include one of the spaces inside the span:

Code:
two <span class="pagenum">123 </span>spaces
But it may still affect searching. If you search "two words" you may find no match. I'm not sure what the specifications say, if they say anything, about these things.
Jellby is offline   Reply With Quote
Advert
Reply


Forum Jump

Similar Threads
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


All times are GMT -4. The time now is 04:14 AM.


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