"Fixing your header" please help me!


#1

header{

border-radius:5px;
position: fixed;
z-index: 1;
width:500px;
clear:both;

}

This is my code. What is wrong?It keeps telling me " Did you remember to give your #header a position of fixed?". What should I do?


#2

Can i see the rest of your css code?


#3

div{border:height:20px;
width:50px;
border-style:solid;
border-radius:5px;
border-color:#ff0000
}

header {border-radius:5px;

position: fixed;
z-index: 1;
width:500px;
clear:both;
}


#4

Okay, weird. Should work, does the output look good? Link to stylesheet correct? no missing closing curly bracket }? Maybe you hit a glitch, try a different browser


#5

Lol, You forgot the semicolon after the color code for the div border-color


#6

This post is old, and a semi-colon isn't mandatory for the last property + value


#7

A post was split to a new topic: Fixing your header