[TYPO3-english] R: odd / even classes for every second record
De Contardi Riccardo
Riccardo.DeContardi at bhuman.it
Tue Jan 12 17:51:54 CET 2010
My humble opinion
I think that adding a lot of classes ("odd", "even", "first", "last") to elements is substantially an ugly way to do things, even though Typoscript allows you to do it with little effort (using optionSplit or other methods).
The most elegant way should be (for me)
- rely on CSS3 selectors (full separation of content from presentation) for the most advanced browsers
I repeat, there is nothing wrong using TS to accomplish this task... Hey... you can even get rid of it with ease the day that every browser will support css 3!
Riccardo De Contardi
B Human Srl - www.bhuman.it
Via Canzio, 15 - 20131 Milano
Tel +39.02 20 23 271 - Fax +39.02 20 240 561
Da: typo3-english-bounces at lists.typo3.org [mailto:typo3-english-bounces at lists.typo3.org] Per conto di Denyer Ec
Inviato: martedì 12 gennaio 2010 17.29
A: TYPO3 English
Oggetto: Re: [TYPO3-english] odd / even classes for every second record
On Tue, Jan 12, 2010 at 4:15 PM, JoH asenau <info at cybercraft.de> wrote:
> Just for the current versions of the browsers
> IE8 => NO
> Safari 4 => Incorrect
> Chrome 2 => Incorrect
> Opera 10 => Incorrect
> After all it's a selector of CSS3, which is still not a standard you can
> rely on.
Given that I tested locally in those browsers prior to posting, I
think the Quirksmode table is perhaps a little behind current.
However, you are right to say that CSS3 support is ... unreliable.
Just such a shame that these things take more than a decade to get
implemented! Maybe one day...
TYPO3-english mailing list
TYPO3-english at lists.typo3.org
Chi riceve il presente messaggio e' tenuto a verificare se lo stesso non gli sia pervenuto per errore. In tal caso e' pregato di avvisare immediatamente il mittente e, tenuto conto delle responsabilità connesse all'indebito utilizzo e/o divulgazione del messaggio e/o delle informazioni in esso contenute, voglia cancellare l'originale e distruggere le varie copie o stampe.
The receiver of this message is required to check if he/she has received it erroneously. If so, the receiver is requested to immediately inform the sender and - in consideration of the responsibilities arising from undue use and/or disclosure of the message and/or the information contained therein - destroy the original message and any copy or printout thereof.
More information about the TYPO3-english