View Single Post
Old 07-21-2009, 08:39 AM   #71
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,516
Karma: 18512745
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
Quote:
Originally Posted by AlexBell View Post
No, I'd use something like

<div class="section">
<a name="preface"></a> <!-- Anchors go before headings -->
<h3>Preface to this version</h3>

[...]

This is a small section of an ebook I uploaded in XHTML with CSS format in a post last night asking people to check out the template.
Note that the "name" attribute is deprecated or forbidden in XHTML (depends on the version). Use "id" in another element for anchors, like this:

<h3 id="preface">Preface to this version</h3>
Jellby is offline   Reply With Quote