Page 1 of 1

Problem with style.css

Posted: Tue Feb 28, 2012 2:04 pm
by mmomakerr
Style.css doesn't work. Anyone know why ? this is my code..
body {
background-color: #ffffff;
}
#login {
position:absolute;
left:0px;
top:0px;
width:800px;
height:150px;
z-index:1;
}
#login2 {
position:absolute;
left:0px;
top:200px;
width:800px;
height:150px;
z-index:1;
}
#player {
position:absolute;
left:400px;
top:200px;
width:450px;
height:450px;
z-index:3;
}
#creature {
position:absolute;
left:400px;
top:400px;
width:450px;
height:450px;
z-index:3;
}
#logout {
position:absolute;
left:10px;
top:10px;
width:150px;
height:150px;
z-index:3;
}

Re: Problem with style.css

Posted: Tue Feb 28, 2012 2:07 pm
by casino
Need a little more info. If it's not working at all, you're probably not referencing it in the head of your document, if only portions of your page is not styled then you're most likely forgetting to add the ID or Class to your Div tags. More info on how it's not working and someone can help you a little better.

Re: Problem with style.css

Posted: Tue Feb 28, 2012 2:14 pm
by mmomakerr
I try to make this bar http://www.youtube.com/watch?v=9rgESgSq ... ssnS3mG7BR.. and i try to move it in left but it stays in the center. i see that and then i change background but nothing happend i think it doesn't work at all :cry:

Re: Problem with style.css

Posted: Tue Feb 28, 2012 5:38 pm
by casino
Can you post the header of your document? Where you link to the CSS file. You may either not have it linked at all or maybe your css file is somewhere other than where you have it linked to.