floating div

Out of context: Reply #5

  • Started
  • Last post
  • 9 Responses
  • Atkinson0

    will these methods work across browsers though? I thought absolute positioning wasn't a good thing? Here's the main style
    #main{
    overflow: auto;
    float: left;
    position: absolute;
    top: 0px;
    right:0px;
    bottom:0px;
    left: 200px;
    padding-left: 20px;
    vertical-align: top;
    z-index: 3;
    text-align: left;
    width: auto;
    background-color:#999999;
    }

    • IE6 throws a bit of a flid when you use fixed positioning but absolute should be alright.jamble

View thread