In my design, I have a main div with 100% width, containing two inner divs. One of the inner divs has a fixed width of 200px, and I want the other inner div to fill up the remaining space, like this:
-----------------this is main div -------------
| |
| ----subdiv1 (200px)---- --subdiv2-----------|
|| | | ||
|------------------------ -------------------- |
|----------------------------------------------|
I have been trying to figure out how to make subdiv2 take up the rest of the empty space while ensuring that subdiv1 stays at 200px. I searched on Google for a solution but couldn't find one.