Questions tagged «center-align»

10
如何水平放置iframe?
考虑以下示例:(live demo) HTML: <div>div</div> <iframe></iframe> CSS: div, iframe { width: 100px; height: 50px; margin: 0 auto; background-color: #777; } 结果: 为什么iframe不能像那样集中对齐div?我如何集中对齐?
By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.