Looking to position two divs side by side with widths totaling 100%? The left div will have a specified width in pixels that can change, while the right div should expand to fill the remaining space.
Having trouble with this layout? Check out my example on JSFiddle: http://jsfiddle.net/2gWLn/
Currently, the text in the "right" div is not lining up properly. I've experimented with using padding-left
and float: left
on the right div, but since the width of the left div varies, this approach isn't effective.
Any suggestions on how to achieve this layout?