[thelist] [CSS] odd positioning

Ben Morrison ben.morrison at dogstardesign.co.uk
Tue Nov 12 11:17:00 CST 2002


using very basic CSS layout, the height and padding-top is being ignored or
changed...

this is my first attempt so maybe i've just used it completely wrong :(

looks perfect in IE5.2 OSX, different in Opera, mozilla and nn4

http://pup-e.co.uk/chinahouse/menuPop.html

#leftcol {
    position: absolute;
    left: 0;
    width: 90px;
    }
#rightcol {
    position: absolute;
    left: 90px;
    width: 295px;
    }
#foodTitle {
    left: 0;
    width: 245px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 11px;
    line-height: 12px;
    font-weight: bold;
    color: #FFFFFF;
    padding-bottom: 10px;
    }

#foodTitle2 {
    color: #FF9900;
    }
#foodCopy {
    font-weight: normal;
    }

#foodPrice {
position: absolute;
    left: 245px;
    width: 50px;
    }

#mainNav {
padding-top: 49px;
height: 90px;
    }

#subHead {
padding-top: 23px;
height: 77px;
    }

html {
    width: 97%;
    }

html, body {
    margin: 0;
    padding: 0;
    background-color: #CC0000;
    }
#secondaryNav {

}





More information about the thelist mailing list