开发者

Anchor in list elements not filling available space with display:block and height/width set to 100%

In the fiddle below i would like to the anchor elements to occupy all开发者_运维技巧 of the aviailable space of their parent li elements:

http://jsfiddle.net/nmxmT/

Can't see what i have done wrong :(


Put the padding on the a instead of the li and take the width off of the a.

http://jsfiddle.net/Gb38x/

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜