h1 { text-align: center; display: block; } div#det-result { max-width: 600px; max-height: 600px; } div#pose-result { max-width: 600px; max-height: 600px; }