From: Eur I. C. G. <cl...@is...> - 2007-03-07 10:15:35
|
On Wed, Mar 07, 2007 at 04:14:24AM -0500, Felix Wiemann wrote: > Eur Ing Chris Green wrote: > > > OK, so *how* do I "apply a custom stylesheet to the document" given > > that I don't want to have to have a custom build script for each > > document that I need different sized <H1> headings for? > > How about: > > --------------------------------------------- > .. class:: small-heading > > Title > ===== > > contents... > --------------------------------------------- > > Then, in CSS, style > > div.small-heading > h1 { ... } > > Note that the class gets applied to the whole section (which is rendered > as a div in HTML), not only the title. > > Hope that helps! > Yes, it does! That seems to be an entirely acceptable solution for my particular case of wanting a smaller <H1> (or whatever) in some documents. Thank you. -- Chris Green |