Le hack CSS Safari !
April 22nd, 2008J’avais un peu galeré pour le trouver celui là
En fait il cible les moteurs KHTML et WebKit, c’est à dire toutes les versions de Safari, et Konqueror.
html[xmlns*=""] body:last-child ... { ... }
Testé avec Konqueror 3.5, Safari 1.2 Mac, Safari 1.3 Mac, Safari 2.0 Mac, Safari 3.1 Mac, Safari 3.1 Win, IE6, IE7, IE8, FF1.5, FF2, FF3
Ce hack est valide CSS3, mais pas CSS2.
Source : BTreeHugger’s Blog



May 1st, 2008 at 23:22
ah les hacks, ça me file des boutons
Dans un monde idéal, on ne devrait pas y recourir. Dans un de mes derniers articles, j’explique mon point de vue là dessus.
Mais pour le cas que tu présentes, il s’agira d’un hack pour CSS2 mais pas pour CSS3 puisque la notation est tout à fait valide donc c’est clairement acceptable
May 2nd, 2008 at 00:32
Effectivement, si le comportement de tous les browsers était homogène (respectait les standards), on aurait pas à y recourir
Sinon j’ai lu ton article et suis d’accord avec toi sur le fait qu’il est important de ne pas utiliser de propriétés propriétaires, d’utiliser uniquement du code valide, de faire du code clair, etc …
May 20th, 2008 at 10:04
Comment faire ce code ? dans la css ?
May 20th, 2008 at 10:24
Oui
March 18th, 2009 at 11:26
Salut,
qui pose effectivement problème
Un petit soucis avec ton hack… Il n’a apparemment pas été tester sur Opéra
March 18th, 2009 at 11:29
Salut,
Quel est le problème ? Je n’ai pas rencontré de soucis à l’époque mais le browser a évolué depuis, c’est ce qui pose pb dans l’utilisation des hacks.
December 11th, 2009 at 23:13
Well, the post is actually the greatest on this worthy topic. I fit in with your conclusions and will thirstily look forward to your incoming updates. Saying thanks will not just be enough, for the phenomenal lucidity in your writing. I will directly grab your rss feed to stay abreast of any updates. Delightful work and much success in yourbusiness efforts!
January 28th, 2010 at 18:20
Heroes of KungFu – Best Browser Based Game of 2010
Heroes of Kungfu is a free massively multiplayer online role-playing game based on the traditional Chinese culture and Martial Arts.
The Game Features:
3 Professions and 10 positions;
Hundreds of quests and auto-leveling up & fighting option
Unique slave, Weapons enhancement and Team Instances system,
Tournament Systems: Interactive PK, Arena Combats, Martial Hall Tournament.
Yes, it’s so attractive! More features wait you to explore! All you need is internet connection and a web browser! Free Forever, No installation
required, Play anytime anywhere. There are over 3,500,000 registered players in Heroes of Kungfu, Join Them Now!
Official Site: hero.webmmo.com
February 5th, 2010 at 23:21
China had alot of balls to be able to hack a U.S. Company. I hope that Google will be able to prevent additional hacks.