Say you want to create this two-column layout:

<div id="left">Content for id "left" Goes Here</div>
<div id="right">Content for id "right" Goes Here</div>

What, if any, are the advantages and/or disadvantages of (1) floating
neither column compared to (2) floating one column? Sample CSS:

(1) floating neither column:

#left {
    position: absolute;
    left: 10px;
    width: 45%;
    border: 1px solid red;
    }
#right {
    position: absolute;
    right: 10px;
    width: 45%;
    border: 1px solid black;
    }


(2) floating one column (say the left):

#left {
    float: left;
    left: 10px;
    width: 45%;
    border: 1px solid red;
    }
#right {
    position: absolute;
    right: 10px;
    width: 45%;
    border: 1px solid black;
    }


******************************************************
The discussion list for  http://webstandardsgroup.org/

 See http://webstandardsgroup.org/mail/guidelines.cfm
 for some hints on posting to the list & getting help
******************************************************

Reply via email to