Ideally I want a variable width left panel between 16-30em and a right panel fixed at 16em wide. When the screen shrinks to 32em or less, I want the right panel to flow underneath the left. and I want this all left aligned.
I have found several examples of the side by side, but only a fixed width on the left by floating it and variable right panel, or floating right and a variable left panel. I managed to put an outer holding div round things and made the layout work right to the point I want to flow the right panel under the left (or the left under the right - I'm not fussed which):
I've tried using the @media (min-width: 15em)
and nesting some changes in there because basically when the screen is less that .left:min-width + .right:min-width
I just need to take out the float:right on the right panel, but nothing seems to take effect (I'm not sure if it is supposed to in jsfiddle, but it doesn't on my real example either. I don't mind which panel pops under the other but I just need it work for mobile devices with standard CSS - I have other stuff that works when the screen gets to 72ems etc, but I didn't write that :)
Any help much appreciated.