If you don't need compatibility with older versions of certain browsers (IE 10 8 or less for example) you can use the calc()
CSS function:
#left {
float:left;
width:180px;
background-color:#ff0000;
}
#right {
float: left;
width: calc(100% - 180px);
background-color:#00FF00;
}