I have a problem when I float the first div (30px width) to the left, the third div (30px width) to the right and havin the second div takes up the remaining space from the entire width of the window
Example:
http://jsfiddle.net/AScBN/188/
.right { height:40px; width:40px; float:left; background:green; } .left { height:40px; width:40px; float:right; background:green; } .fluid { margin-right: 50px; height:40px; background:red; } div { border:1px solid yellow; }
Problem:
I can't make them sit next to each other, the last div is being pushed explicitly due to the liquid second div
thanks
Aiden
source share