.box1{ position: absolute; width: 100%; height: 100%; background-color: #eec2c7; } .z1{ text-align: center; font-size: 18px; position: absolute; left: 140px; } .box3 image{ text-align: center; top:200px; position: absolute; left: 110px; width: 180px; height:160px; } .z2{ top:380px; left: 155px; position: absolute; color: gray; }