เข้าชม :
802
|
|
|
Remove the float on the left column. At the HTML code, the right column needs to come before the left one. If the right has a float (and a width), and if the left column doesn't have a width and no float, it will be flexible :) Also apply an Finally, at the left column, add a Example HTML: class="container"> class="right"> right content fixed width class="left"> left content flexible width
CSS: .container { height: auto; overflow: hidden; } .right { width: 180px; float: right; background: #aafed6; } .left { float: none; /* not needed, just for clarification */ background: #e8f6fe; /* the next props are meant to keep this block independent from the other floated one */ width: auto; overflow: hidden; } |
|




