代码之家  ›  专栏  ›  技术社区  ›  Dani

从右向左指令不影响css li with checkbox

css
  •  0
  • Dani  · 技术社区  · 14 年前

  • 使用jpg代替项目符号:
    div.myzone ul li.checkbox{
    
            background: url(../images/cube.gif) no-repeat 0px 3px;
            list-style:none;
    }
    

    在从左到右的页面中,它可以正常工作。(JPG一些刚刚离开。文本)。

    JPG                  some rigth just text 
    JPG                  more right just. text
    
    instead of 
                            some right just. text JPG
                            more right just. text jpg.
    

    如何使jpg出现在正确的位置?

    谢谢。

  • 1 回复  |  直到 14 年前
        1
  •  2
  •   meder omuraliev    14 年前

    你试过吗。。

    100% 3px 而不是 0 3px ?