Can you not use CSS selectors for that:
That would match any element with 'caption' class and value 'nn' of
attribute lang.
I got it from here:
IE doesn't support that, though.


> Message: 1
> Date: Mon, 29 Mar 2010 00:04:37 +0200
> From: Kolbj?rn Stuest?l <>
> Subject: [Gimp-docs] gimp-help-custom.css
> To: GIMP Docs <gimp-docs@lists.XCF.Berkeley.EDU>
> Message-ID: <>
> Content-Type: text/plain; charset=UTF-8; format=flowed
> I would like to add
> .caption {
>    font-size : smaller;
>    font-style : italic;
> }
> to the style sheets to differ the image text from the body text.
> Perhaps the not used gimp-help-custom.css file is a good way of doing
> it, but as this wish may be unique to Norwegian only, how to add a
> conditional to select languages? (if LANG="nn" then ... else not)
> As far as I know it is not possible in the style sheet, but is there a
> clever/simple way of doing this. (Unless we add it to the common style
> sheets).
> It is not very important to me to add this style, only a suggestion/wish.
> Kolbjoern
Gimp-docs mailing list

Reply via email to