remove spacing for firefox inline-block elements
http://yuiblog.com/sandbox/yui/3.2.0pr1/build/cssgrids/grids.css
.yui3-g {
letter-spacing: -0.31em; /* webkit: collapse white-space between units */
*letter-spacing: normal; /* reset IE < 8 */
word-spacing: -0.43em; /* IE < 8 && gecko: collapse white-space between units */
}
cleaner:
<ul><li>
stuff...
</li><li>
more stuff
</li><li>
ok, enough stuff, already.
</li></ul>
sample: http://chunghe.googlecode.com/svn/trunk/experiment/inline-block/inline-block-firefox.htm
CSS inline/block nuances
White Space Collapsing: the 'white-space-collapse' property - it hasn't been implemented by any vendor as of yet.
沒有留言:
張貼留言