[TYPO3-english] odd / even classes for every second record

JoH asenau info at cybercraft.de
Tue Jan 12 16:56:04 CET 2010

> All of this thanks to Internet Explorer :(
> <css>
> div.yourClass:nth-child(even) {background: #CCC}
> div.yourClass:nth-child(odd) {background: #FFF}

I guess there are more browsers than just IE who don't support CSS like that
properly ;-)



Wenn man keine Ahnung hat: Einfach mal Fresse halten!
(If you have no clues: simply shut your gob sometimes!)
Dieter Nuhr, German comedian
Xing: http://contact.cybercraft.de
Twitter: http://twitter.com/bunnyfield
TYPO3 cookbook (2nd edition): http://www.typo3experts.com

More information about the TYPO3-english mailing list