eric float
11-22-2008, 08:15 PM
hi ! i have 3 div for index page .
<div id="1" align="center"><div style="float:left; width:20%;"> </div><div id="2" style="float:left; width:60%;"> </div><div id="3" style="float:right; width:20%;"> </div></div>
1 = left with background
2 = middle with background
3 = right with background
Now how to write css when type in middle , all DIV ( left + right ) auto height and change to bottom !?
in table methods this worked nice but how to in DIV with css ? regards ( sorry for bad english )
<div id="1" align="center"><div style="float:left; width:20%;"> </div><div id="2" style="float:left; width:60%;"> </div><div id="3" style="float:right; width:20%;"> </div></div>
1 = left with background
2 = middle with background
3 = right with background
Now how to write css when type in middle , all DIV ( left + right ) auto height and change to bottom !?
in table methods this worked nice but how to in DIV with css ? regards ( sorry for bad english )