Quote:
Originally Posted by Toxaris
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.