my goal is for "blackbar" to be underneath "header" and for it to remain at the left of "header" as the browser window gets wider...

what I'll do after the 750px is exceeded, I haven't figured out, but why is the blackbar div not underneath (in the Z dimension) the header div?

thank you!

John





div#header {
        position: relative;
        width: 750px;
        height: 100px;
        background-color: #601603;
        margin: 4em Auto;
        border-left: 15px solid black;
}

div#blackbar{
        position: fixed;
        width: 750px;
        height: 100px;
        background-color: #000000;
        margin: 0;
        z-index: -1;
}

______________________________________________________________________
css-discuss [[email protected]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to