body { background-color: aliceblue; margin: 0px; } .background_text { width: 100%; color: rgba(255, 239, 213, 0.3); font-style: italic; font-family: sans-serif; font-size: 125px; text-align: center; position: absolute; top: 120px; /* background-color: yellow; */ } #title_1 { width: 100%; color: slategray; font-family: youyuan; font-size: 30px; text-align: center; position: relative; top: 140px; } #name { width: 120px; color: slategray; font-family: youyuan; font-size: 24px; position: relative; left: 490px; top: 150px; } input[name] { height: 27px; border: none; position: absolute; left: 150px; font-family: youyuan; } input[password] { height: 27px; border: none; position: absolute; left: 150px; font-family: youyuan; }