Quote:
Originally Posted by theducks
I use the with <br /> method as it Generates the TOC with both the # and the text.
It also meets the accessibility reason to use <h# tags instead of P or Div
If you want the text part Larger or smaller, just wrap that in a Span with the styling wanted.
|
Same concept here, but I flip it around a little and use the span without the br:
Code:
h3 span {display:block; yadda yadda yadda}
<h3>1. <span>The End of the Beginning</span></h3>
display:block puts it on the next line without requiring the use of <br/> and still meets the accesibility reasons - as well as working with the ToC Generator!
The exact method you use is personal choice; just try and meet the purpose of the accessibility requirements.