Re: [Gimp-docs] Gimp-docs Digest, Vol 70, Issue 7

2010-03-31 Thread Ulf-D. Ehlert
Vitaly Lomov (Tuesday, 30. March 2010)
> 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.

But the elements generated by docbook-xsl don't contain lang tags:


...


Ulf


signature.asc
Description: This is a digitally signed message part.
___
Gimp-docs mailing list
Gimp-docs@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-docs


Re: [Gimp-docs] Gimp-docs Digest, Vol 70, Issue 7

2010-03-30 Thread Kolbjørn Stuestøl
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 
>> Subject: [Gimp-docs] gimp-help-custom.css
>> To: GIMP Docs 
>> 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


Re: [Gimp-docs] Gimp-docs Digest, Vol 70, Issue 7

2010-03-30 Thread Vitaly Lomov
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 
> Subject: [Gimp-docs] gimp-help-custom.css
> To: GIMP Docs 
> 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