View Single Post
Old 09-01-2011, 01:33 PM   #2
Sunlite
Addict
Sunlite ought to be getting tired of karma fortunes by now.Sunlite ought to be getting tired of karma fortunes by now.Sunlite ought to be getting tired of karma fortunes by now.Sunlite ought to be getting tired of karma fortunes by now.Sunlite ought to be getting tired of karma fortunes by now.Sunlite ought to be getting tired of karma fortunes by now.Sunlite ought to be getting tired of karma fortunes by now.Sunlite ought to be getting tired of karma fortunes by now.Sunlite ought to be getting tired of karma fortunes by now.Sunlite ought to be getting tired of karma fortunes by now.Sunlite ought to be getting tired of karma fortunes by now.
 
Sunlite's Avatar
 
Posts: 206
Karma: 547516
Join Date: Mar 2008
Location: Berlin, Germany
Device: KObo Clara, Kobo Aura, PRS-T1, PB602, CyBook Gen3
Du kannst bei den Headline-Tags (H1-H6) ein Attribut 'Title' angeben. Darin kannst du angeben, was im Inhaltsverzeichnis erscheinen soll.

Beispiel:
Code:
<h1 title="Umschlagbild vorn" class='invisible'>&nbsp;</h1>

mit 

h1.invisible {
  display: none;
}
Dieser Eintrag sollte auf der Seite des Bildes nicht zu sehen sein, Im Inhaltsverzeichnis sollte aber 'Umschlagbild vorn' erscheinen.

Die css Klasse 'invisible' sorgt dafür, dass das H1-Element nicht angezeigt wird und damit auch keinen Platz weg nimmt.
Sunlite is offline   Reply With Quote