html绝对居中 #ta { background: rgba(242, 255, 184, 0.47); width: 250px; height: 200px; overflow: auto; margin: auto; position: absolute; top: 0; left: 0; bottom: 0; right: 0; }