Is there a way to have two divs located next to each other so that:
- The width of the outer div is unknown
- The rightmost div breaks its width into its contents (shrinks to fit)
- The leftmost div fills the remaining space
I see Paul D. Waite almost interrupting it here: xHTML / CSS: How to make the inner div get 100% width minus another div width
In my case, the two inner divs need to switch places, and I just can't cut it off.
Any ideas?
html css layout
Anders mogensen
source share