Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.javascript > #28666

Re: Change font size in multiple classes

Path csiph.com!news.swapon.de!newsfeed.fsmpi.rwth-aachen.de!newsfeed.straub-nv.de!weretis.net!feeder1.news.weretis.net!news.solani.org!.POSTED!not-for-mail
From Thomas 'PointedEars' Lahn <PointedEars@web.de>
Newsgroups comp.lang.javascript
Subject Re: Change font size in multiple classes
Date Wed, 09 Sep 2015 04:51:58 +0200
Organization PointedEars Software (PES)
Lines 26
Message-ID <1529130.RbxL3cX0LV@PointedEars.de> (permalink)
References <l8-dnaGgOJ9fWXrInZ2dnUU7-VOdnZ2d@westnet.com.au> <5339258.obARhecIma@PointedEars.de> <uu2dnR50F5xHTHHInZ2dnUU7-cudnZ2d@westnet.com.au> <3400727.VFMSXGhhqZ@PointedEars.de> <JpCdnak5nfIV_HPInZ2dnUU7-VudnZ2d@westnet.com.au>
Reply-To Thomas 'PointedEars' Lahn <cljs@PointedEars.de>
Mime-Version 1.0
Content-Type text/plain; charset="UTF-8"
Content-Transfer-Encoding 8Bit
X-Trace solani.org 1441767324 23282 eJwFwQcBwEAIBDBLZR0ghzL8S/jEBIR2hUHt7HLY++OUTdI+ruuhgi1FyLoOEmSViP53dB4a+RFF (9 Sep 2015 02:55:24 GMT)
X-Complaints-To abuse@news.solani.org
NNTP-Posting-Date Wed, 9 Sep 2015 02:55:24 +0000 (UTC)
User-Agent KNode/4.14.2
X-User-ID eJwFwYEBwDAEBMCVBK+ME3z2H6F3sDgxnwfC8fCEnPI7WrZpqRclWt1hzlxjVog1XEHRXn3E6LjxLC53fkwhFb4=
Cancel-Lock sha1:hMArZ2L1sSCoRCU5kdJWmoqmk9c=
X-NNTP-Posting-Host eJwNydsBADEEBMCWEIuUIx79l3A3v4NjbOVqMMViqUcoQvKSx3aqSjeqrmfh+R88j2ahyX4SHx/uEVg=
Xref csiph.com comp.lang.javascript:28666

Show key headers only | View raw


Andrew Poulos wrote:

> On 8/09/2015 4:35 AM, Thomas 'PointedEars' Lahn wrote:
>> Otherwise I would have recommended to consider adding a CSS3 style rule
   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>> to override declarations for all “span” elements whose “class” attribute
>> value contains a class name that begins with “text”:
>>
>>    span[class^="text"],
>>    span[class~=" text"] {
>>      property-you-want-to-override: new-value !important;
>>    }
> 
> This is very interesting but I'm stuck.
> 
> If there are a number of classes and each contains a font-size rule
> (each of which might set to a different size) how is it possible for the
> above rule to appropriately address all of the font size? […]

See the marked part.

-- 
PointedEars
FAQ: <http://PointedEars.de/faq> | SVN: <http://PointedEars.de/wsvn/>
Twitter: @PointedEars2 | ES Matrix: <http://PointedEars.de/es-matrix>
Please do not cc me. / Bitte keine Kopien per E-Mail.

Back to comp.lang.javascript | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

Change font size in multiple classes Andrew Poulos <ap_prog@hotmail.com> - 2015-09-03 13:55 +1000
  Re: Change font size in multiple classes "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2015-09-03 10:09 +0200
  Re: Change font size in multiple classes "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2015-09-03 10:51 +0200
    Re: Change font size in multiple classes Andrew Poulos <ap_prog@hotmail.com> - 2015-09-03 20:39 +1000
      Re: Change font size in multiple classes Jake Jarvis <pig_in_shoes@yahoo.com> - 2015-09-03 16:20 +0200
        Re: Change font size in multiple classes "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2015-09-03 16:27 +0200
          Re: Change font size in multiple classes Jake Jarvis <pig_in_shoes@yahoo.com> - 2015-09-03 16:30 +0200
            Re: Change font size in multiple classes "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2015-09-03 16:39 +0200
              Re: Change font size in multiple classes Andrew Poulos <ap_prog@hotmail.com> - 2015-09-04 15:49 +1000
                Re: Change font size in multiple classes "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2015-09-04 09:37 +0200
                Re: Change font size in multiple classes Andrew Poulos <ap_prog@hotmail.com> - 2015-09-04 18:11 +1000
                Re: Change font size in multiple classes Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2015-09-07 03:33 +0200
      Re: Change font size in multiple classes "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2015-09-03 16:24 +0200
  Re: Change font size in multiple classes Dr J R Stockton <reply1500@merlyn.demon.co.uk.invalid> - 2015-09-05 20:49 +0100
    Re: Change font size in multiple classes Andrew Poulos <ap_prog@hotmail.com> - 2015-09-06 19:30 +1000
      Re: Change font size in multiple classes Dr J R Stockton <reply1500@merlyn.demon.co.uk.invalid> - 2015-09-07 20:27 +0100
  Re: Change font size in multiple classes Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2015-09-06 14:07 +0200
    Re: Change font size in multiple classes Andrew Poulos <ap_prog@hotmail.com> - 2015-09-07 09:53 +1000
      Re: Change font size in multiple classes Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2015-09-07 20:35 +0200
        Re: Change font size in multiple classes Andrew Poulos <ap_prog@hotmail.com> - 2015-09-08 14:18 +1000
          Re: Change font size in multiple classes Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2015-09-09 04:51 +0200

csiph-web