How do I make the superscript/subscript style in running headers? I have used below CSS properties, but it does not works.
CSS:
@page :right {
@top-right
{
content: string(heading, first);
font: 8pt "MyriadPro-It", serif;
margin-top:49.8pt;
vertical-align:top;
border:0px solid;
}
}
h1{display: block; font: 12.5pt/14pt "MyriadPro-Semibold", serif;margin: 20pt 0 0pt 0;font-weight:bold;text-align: left; page-break-after: avoid;string-set: heading content(text);}
HTML:
<h1>Modern Aspects of <sup>31</sup>P NMR Spectroscopy</h1>
CSS:
@page :right {
@top-right
{
content: string(heading, first);
font: 8pt "MyriadPro-It", serif;
margin-top:49.8pt;
vertical-align:top;
border:0px solid;
}
}
h1{display: block; font: 12.5pt/14pt "MyriadPro-Semibold", serif;margin: 20pt 0 0pt 0;font-weight:bold;text-align: left; page-break-after: avoid;string-set: heading content(text);}
HTML:
<h1>Modern Aspects of <sup>31</sup>P NMR Spectroscopy</h1>