in the h1 tag below, why does the font-size make the div that contains it move either up or down? Why wouldn't the font be as big as I say, and the div container around it simply stay put? IOW, how can the h1 font-size affect the *position* of the div container?

the text in question (my name) fits well within the div container.

thanks!

cs


div#header {
        position: relative;
        width: 750px;
        height: 100px;
        background-color: #aa9999;
        margin: 2em Auto;
}


h1 {
        font-family: Impact, Verdana;
        font-weight: bold;
        font-size: 400%;
}
______________________________________________________________________
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