Problem with style.css

Place for questions and answers for all newcomers and new coders. This is a free for all forum, no question is too stupid and to noob.
Post Reply
mmomakerr
Posts: 3
Joined: Tue Feb 28, 2012 1:50 pm

Problem with style.css

Post 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;
}
casino
Posts: 22
Joined: Thu Feb 23, 2012 9:44 pm

Re: Problem with style.css

Post 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.
mmomakerr
Posts: 3
Joined: Tue Feb 28, 2012 1:50 pm

Re: Problem with style.css

Post 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:
casino
Posts: 22
Joined: Thu Feb 23, 2012 9:44 pm

Re: Problem with style.css

Post 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.
Post Reply

Return to “Beginner Help and Support”