2010-06-24から1日間の記事一覧
body { /* applied only IE6 */ _line-height:130%; /* applied IE6 and IE7 */ >line-height:130%; /* applied only IE8 */ line-height /*\**/: 130%\9; } 有名なスターハックのほか、「>」でのハック、IE8では「/*\**/」と「\9」を使う。「\9」がないとWe…
ので、labelにclickイベントをバインドする。こちらのblogで、きれいに作って公開してくれてます。 $(‘label’).each(function(i, l){ l = $(l); l.bind(‘click’, function(){ var t = $(‘input[id=' + l.attr('for') + ']‘); t.checked = t.checked ? false …