On the page below, declaring:

margin: 2% 0 0 0; produces no result. In fact, only throwing in ridiculous figures, such as 50em produce any change at all. Yet declaring a margin below on the Section above it produces results at 2%, 1%.

What is preventing margin-top values from working for footer, while margin-bottom on the section works?

Here are section and footer (footer with no margin value):

John

http://coffeeonmars.com/new/

footer{
    background-color:purple;
    width:100%;
    height:200px;
    max-width:960px;
    clear:both;
}

section{
    background-color:silver;
    margin:2% 0 2% 0;
    width:100%;
    float:left;
}
______________________________________________________________________
css-discuss [css-d@lists.css-discuss.org]
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