*{ margin: 0; padding: 0; } .main{ width: 40%; height: 360px; background-color: white; margin: 170px 30%; padding: 1px; border: 1px solid white; border-radius: 20px 20px 20px 20px; } .color{ #background-color:yellow; #div-layout: fixed; border-radius: 20px 0px 0px 20px; width: 470px; height:80px; position:fixed; } .head h1{ width: 400px; line-height: 50px; font-size: 30px; padding: 0px 5px 0px 170px; font-weight: bold; color: darkblue; } .image{ position: absolute; top: 90px; left: 20px; border: 1.5px solid #483d8b; border-radius:10px; } .p1{ margin: 0px 0px 20px 25px; text-align: center; width: 500px; font-size: 8.5pt; font-weight: bold; } .p2{ margin-bottom: 2px; margin-left: 200px; line-height: 20px; border: 1px solid darkblue; border-radius: 100px; background-color: darkblue; font-size: 14pt; width: 350px; text-align: center; color: white; } .p3{ margin-top: 0px; margin-right: 0px; margin-bottom: 10px; margin-left: 160px; line-height: 30px; border: 1px solid red; font-size: 16pt; padding-right: 0px; text-align: left; width: 440px; background-color: red; color: white; } .barcode-pic{ width: 300px; height: 45px; border: 1px solid black; border-radius: 10px; margin-left: 40px; margin-top: 1%; }