Vitaly Lomov skreiv: > 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 > Thanks, Vitaly. Yes I know about this, but as it is not supported in all browsers (as usual this means IE below 7) I did not want to use it. There is still some people using Internet Explorer below version 7. At the moment I am in argumentation with an international company not willing to switch to other browsers. They are using IE 6 "of safety reasons" I am told! Nice site you mentioned. I have bookmarked it. Kolbjoern > >> Message: 1 >> Date: Mon, 29 Mar 2010 00:04:37 +0200 >> From: Kolbj?rn Stuest?l <kolbjoern@xxxxxxxxxxxx> >> Subject: gimp-help-custom.css >> To: GIMP Docs <gimp-docs@xxxxxxxxxxxxxxxxxxxxxx> >> Message-ID: <4BAFD275.3020005@xxxxxxxxxxxx> >> 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@xxxxxxxxxxxxxxxxxxxxxx https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-docs