[Javascript] using multiple class names

Flavio Gomes flavio at economisa.com.br
Wed May 26 08:57:59 CDT 2004


I don't know what to do to fix it in IE, but in mozilla I had no problem 
using "{font-size: larger}"

Ps.: "font: larger" doesnt worked.

---
Flavio Gomes
flavio at economisa.com.br



Hakan Magnusson wrote:

> My bad, you can indeed use single- or double quotes around your 
> attribute values. I'm developing in too many languages at once here, 
> sorry. I'd say you should add the type attribute to your style block, 
> though.
>
> Regards,
> H
>
> Mike Dougherty wrote:
>
>> Why?
>>
>> On Wed, 26 May 2004 10:47:55 +0000
>>  Hakan Magnusson <hakan at backbase.com> wrote:
>>
>>> You should use double quotes around HTML attributes, but apart from 
>>> that it looks fine.
>>>
>>> Regards,
>>> H
>>>
>>> Mike Dougherty wrote:
>>>
>>>> Is there a reason why this construction would be bad?
>>>>
>>>> <style>
>>>> .size2 {font: x-small;}
>>>> .sizeP1 {font: larger;}
>>>> .weightP1 {font: bold;}
>>>> .color1 {color: white;}
>>>> .color2 {color: red;}
>>>> </style>
>>>> [..stuff..]
>>>>
>>>> <span class='size2 weightP1 color1'>small bold white text</span>
>>>> <span class='sizeP1 color2'>larger red text</span>
>>>>
>>>> _______________________________________________
>>>> Javascript mailing list
>>>> Javascript at LaTech.edu
>>>> https://lists.LaTech.edu/mailman/listinfo/javascript
>>>>
>>>>
>>> _______________________________________________
>>> Javascript mailing list
>>> Javascript at LaTech.edu
>>> https://lists.LaTech.edu/mailman/listinfo/javascript
>>
>>
>>
>> _______________________________________________
>> Javascript mailing list
>> Javascript at LaTech.edu
>> https://lists.LaTech.edu/mailman/listinfo/javascript
>>
>>
> _______________________________________________
> Javascript mailing list
> Javascript at LaTech.edu
> https://lists.LaTech.edu/mailman/listinfo/javascript




More information about the Javascript mailing list