Blog.okuryu
YUI 2.3.0 がリリースされて、ここ数日タイミングよく CSS する機会がでてきたので、Reset CSS、Base CSS、Fonts CSS、Grids CSS それぞれを使っています。Grids CSS は今まであまり使ったことがなかったんですが、ちょっと物足りない部分はあるもののなかなかこれが使えます。
で、Grids CSS の .yui-gb を使ったレイアウトがうまくいかないので、小一時間悩んでいたところ、公式にバグが認められていることを知りました。
Notice: A bug impacting the "yui-gb" 33%-33%-33% layout was introduced in version 2.3.0. The bug swaps the position of the 2nd and 3rd columns. For a one-line patch and more information read this ydn-javascript post from Grids author Nate Koechley.
悩んでいた僕が馬鹿でした。回避方法もちゃんとありました。
ydn-javascript : Message: Patch for CSS Grids 2.3.0 Issue
<style>
/* patch for .yui-gb issue in Grids 2.3.0*/
.yui-gb .yui-u {float:left;}
</style>
簡単ですね。めでたしめでたし。
このエントリーのトラックバックURL:
http://www.okuryu.com/mt/mt-tb.cgi/237