How to display "divs" horizontally?
This question already has an answer here:
你是这个意思?
#loginContent,
#signupContent {
float: left;
width: 50%;
}
or
#Content {
text-align: center;
}
#loginContent,
#signupContent {
display: inline-block;
}
Use inline-block Fiddle:
#loginContent, #signupContent {
display: inline-block;
}
or you can use float Fiddle:
#signupContent {
float: right;
}
链接地址: http://www.djcxy.com/p/81468.html上一篇: facebook快速解析注册
下一篇: 如何水平显示“div”?