[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [docbook-apps] How do I highlight inline text ?
On Sun, 11 Apr 2010 06:22:18 -0400 "Robert Lucente" <rlucente@pipeline.com> wrote: > > a.. Create a cascading style sheet w/ a file name of key_words.css > > w/ the following entry > > > > .key_words { background: yellow; } > > Nit picking, use semantic names for the attribute? > I may be wrong here. > > [RL Start] > > Nathalie Sequeira on April 07, 2010 5:31 PM recommended the following > > <emphasis role="semantic_function_of_the_emphasis">some > text</emphasis> > > I thought that this was way cool. Then if I wanted to change the how > the semantic was displayed, just change the CSS. > > Humm. What am I missing ? > > [RL End] I guessed that 'keyword' wasn't semantic. Was I wrong? If it does identify a keyword in your xml markup, my apologies. > [RL Start] > > I don't know anything about XSL. I will add it to the stuff to go > learn. > > Is putting parameters in XSL just a best practice thing ? I think so. puts all your 'styling' in one place?.. except it's two, one stylesheet importing another. > > It makes sense. This way you have all your styling knobs in one spot > as opposed to 2 different spots. > > Thanks for the help. Welcome. -- regards -- Dave Pawson XSLT XSL-FO FAQ. http://www.dpawson.co.uk
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]