View Single Post
Old 11-30-2013, 01:27 AM   #16
Peter21
Enthusiast
Peter21 can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterPeter21 can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterPeter21 can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterPeter21 can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterPeter21 can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterPeter21 can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterPeter21 can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterPeter21 can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterPeter21 can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterPeter21 can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameterPeter21 can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameter
 
Posts: 29
Karma: 12580
Join Date: Aug 2013
Location: UK
Device: iPad 4
Quote:
Originally Posted by Toxaris View Post
Sure, no problem. Put this in your stylesheet:
Code:
.hidden { display: none; }
Then use the following in your HTML:
Code:
<h1 class="hidden">This is your hidden title.</h1><div>your image</div>
Word of warning. You can also use 'display: hidden', but that will occupy space. It will effectively show the header, but make the text color the same as the background. With 'display: none' it will not be displayed at all and will not occupy space on the page.

This works, but the text in the TOC for this chapter is now blue. The other chapter headings, also within h2 tags (I am using h2 rather than h1) are black in the TOC.....not sure why?

Thanks to all.
Peter21 is offline   Reply With Quote