so I'm just starting my career as a web designer, working on my first project now, i just finished the first page design, but anyway i have some worries about the css design that I created, mainly about positioning the html elements. here's the code samples:
.contentbackground
{
background-image: url('../images/body/BG.png');
width: 1218px;
height: 370px;
position: absolute;
top: 205px;
margin-left: 67px;
}
.loginbox
{
width: 351px;
height: 280px;
position: absolute;
top: 40px;
right: -12px;
}
.lblLogin
{
position: absolute;
top: 85px;
right: 265px;
font-family: "Century Gothic";
font-size: 16px;
color: #FFFFFF;
}
the question is, is this approach the best practice? i mean, set the position absolute, and manually configure the top, left, right, bottom placement, is it recommended?