29.3.3 Formatting browse-link labels

You can provide formatting for Label content wherever you invoke text-link <$_prev> and <$_next> macros. For example:

<p class="navlabel"><$_prev></p>

Button labels are at the mercy of default browser rendering, unless you redefine <$_prev> and <$_next> macros so they include formatting. For buttons, formatting tags must be placed within the <button> tag, surrounding Label text. For example (must be all on one line):

<button type="button"
  onclick="javascript:location.href='somefile.htm'">
  <p class="navlabel">Previous</p></button>

Previous Topic:  29.3.2 Choosing buttons versus text links for a browse sequence

Next Topic:  29.3.4 Modifying macros <$_prev>, <$_next>, and <$_top>

Parent Topic:  29.3 Creating a browse sequence

Sibling Topics:

29.3.1 Understanding how browse macros work

29.3.2 Choosing buttons versus text links for a browse sequence

29.3.4 Modifying macros <$_prev>, <$_next>, and <$_top>

29.3.5 Understanding browse keyword scope and default values

29.3.6 Specifying where to invoke a browse macro