max-width: 100%;//父元素的宽度
display: block;
margin: 0 auto;
display: table-cell; 垂直居中
vertical-align: middle;
style="max-width: 100%;max-height: 100%; display:inline-block;" //水平居中
text-indent:50px; 段落首行缩进50个像素
<style> ::-webkit-scrollbar { //隐藏滚动条 display: none; } </style>