新手引导并使用 pull-而不是 float 进行游戏。例如
span cl="item pull-right"><img src=css/graphics/jpeg/cart.jpg alt="Shopping Cart" height=20 width=19 />Items in Cart: <b cl=simpleCart_quantity></b></span>
只是想知道我是否可以将其添加到样式表中的类选择器,而不是手动将其添加到每个 span 或 div.eg
.item {
? : pull-right?
padding: 0;
font-size: .8em }
此外,如果你可以做同样的事情来指定 cols 等。
提前谢谢。
本站系公益性非盈利分享网址,本文来自用户投稿,不代表码文网立场,如若转载,请注明出处
评论列表(52条)