[TYPO3-RTE] Add more as one CSS Class to an Link

Christopher Christopher at temporaryforwarding.com
Sat Oct 11 15:41:03 CEST 2008


"Stefano Kowalke" <blueduck at gmx.net> schrieb im Newsbeitrag 
news:mailman.1.1223730363.30426.typo3-project-rte at lists.netfielders.de...
> Christopher wrote:
>
>> Hi Stefano,
>>
>> having a look at the html-references it is possible to have several
>> classes at one tag, but you must know that IE 6 and 7 do not respect them
>> correctly: As far as I read they only use the last class, not taking into
>> account that there were some others before.
>>
>> That is why I always avoid having multiple clases, but use one clear
>> classname, e.g. class="email" (for link without icon) or 
>> "email_with_icon"
>> (for link with icon).
>>
>
> i think we should not orient us at the bad behavior of an IE6 or IE7.
> To have multiple classes in one attribute is usual XHTML standard.

Right, I just wanted to add this, just in case someone wondered why it would 
not work correctly with these browsers. ;-)

Christopher 




More information about the TYPO3-project-rte mailing list