0
我有一个使用CSS的问题。水平的css中心
.ventabotones div{
float:left;
margin-right: 3%;
}
.ventabotones{
overflow:hidden;
}
.ventabotones{
height:80px;
border: 1px solid;
border-radius: 10px;
}
水平居中#ventabotones内容如何居中?
发布您的HTML请。 – Lowkase 2013-03-21 13:30:56
http://stackoverflow.com/questions/618097/how-do-you-easily-horizontally-center-a-div-using-css – 2013-03-21 13:31:34
你的CSS说ventabotones是一个类,而你说它是一个ID ...中心对齐一个div(或者大多数情况下是我的情况下的整个身体)我主要用'margin:0 auto 0;' – 2013-03-21 13:32:57