[dokuwiki] Re: syntax hilighting

Chris Smith wrote:

> Galen Johnson wrote:
>
>> Thanks Chris....a bit more research showed that...however, I haven't had
>> much success in forcing the font to be reset...are you aware of a
>> standard way to accomplish this...'!important' and 'font: normal'
>> doesn't work...I was hoping to be able to do something like {color:
>> #000000; font: normal;} but that didn't seem to want to work.  I'm still
>> digging but if you know of a way, it'd help.
>>
>> =G=
>>   
>
>
> font is a short hand attribute for all the font-* properties.  Bold
> comes under font-weight.  So ...
>
> sometyle { font-weight: normal; }
>
> www.csscreator.com is an excellent forum for CSS information and
> questions
>
> Cheers,
>
> Chris

Hey Chris,

Thanks for all your help...I've decided the best way to overcome this is
by explicitly setting the style and weight.

.code .kw2      { color: #000000; font-weight: bold; }
...
...
...

/* my code */
.code.sas .kw2  { color: #0000ff; font-style: normal; font-weight: normal; }
...
...
...

It's ugly...but it works...

=G=

-- 
DokuWiki mailing list - more info at
http://wiki.splitbrain.org/wiki:mailinglist

Other related posts: