Can you not use CSS selectors for that: .caption[lang|=nn]{ font-size:...; } That would match any element with 'caption' class and value 'nn' of attribute lang. I got it from here: http://webdesign.about.com/od/cssselectors/qt/cssselattribute.htm IE doesn't support that, though.
Vitaly > Message: 1 > Date: Mon, 29 Mar 2010 00:04:37 +0200 > From: Kolbj?rn Stuest?l <kolbjo...@stuestoel.no> > Subject: [Gimp-docs] gimp-help-custom.css > To: GIMP Docs <gimp-docs@lists.XCF.Berkeley.EDU> > Message-ID: <4bafd275.3020...@stuestoel.no> > 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 Gimp-docs@lists.XCF.Berkeley.EDU https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-docs