开发者

Create li tag without and word in tag(empty)?

I have this code :

<li class="eight"  ><a href="#" >music</a></li>

but i want that have the same code without any word inside (empty) my mean is remove music word but still have the sa开发者_开发技巧me width of li tag,is it possible?,or better say that how can i put space character in li tag? thanks


.eight a {
    display: block;
    text-indent:-9999px;
    width:100px;
}

you can change the offset of your text with text-indent

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜