我有右侧对齐的文字,我想让它稍微推一下,就像你在右侧的文字缩进图钉一样.有什么解决方案吗?
我一直在尝试边缘,但IE9在第一个菜单项(?)上加倍.
感谢css:
h99
{ padding: 0px;
font-family: lucida, sans-serif;
font-size: 16px;
font-weight: bold;
line-height: 40px;
}
#menublock
{ width: 230px;
height: auto;
float: left;
text-align:right;
margin-right: 0px;
}
ul
{ list-style-type: none;
margin:0;
padding:0;
overflow: hidden;
}
ul a:link, ul a:visited
{ display: block;
width: 210px;
background: transparent;
text-align: right;
text-transform: uppercase;
text-decoration: none;
height: 40px;
color: #ffffff;
padding: 0px;
margin: 10px;
}
ul a:hover, .selected
{ background: #484848 !important;
color: #ffffff !important;
}
菜单是一个简单的水平菜单.