View Single Post
Old 06-23-2013, 12:38 AM   #1
santosha
Novice
santosha began at the beginning.
 
santosha's Avatar
 
Posts: 14
Karma: 10
Join Date: Jun 2013
Device: Kindle Paperwhite
Will my anchors lead astray?

I have styled my chapter headings with a paragraph class containing the styling element page-break-before: always;.

According to Amazon's guidelines I should add my anchor tags (<a name="*"/>) before my paragraph tags.

Code:
"3.10.2 HTML Guideline #2: Anchors Must Be Added Before Formatting Tags"
If I do this, is there a risk that my anchors would lead to the wrong place, since they are effectively before a page-break, through the CSS styling of the paragraph class?

For example, could a ToC item linked to this anchor end up directing someone to a blank page or even the page before the chapter heading? The intention is of course that the anchor should lead to the chapter heading.

If this would be a problem, I guess I could use the <mbp:pagebreak/> tag - but I had understood the CSS method to be more practical and also best practice. I could be wrong about that, though.

Thanks in advance!

Namaste,

Santosha
santosha is offline   Reply With Quote