I would like to do some simple layout math. I remember the syntax below worked in opera last time I tried it. Standard CSS lacks any calculation support as far as I know. So how can I achieve this with standard css(IE7 compatible)?
#myDiv {
width:100% - 260px;
}
Edit So here is some context:
I will try and draw my situation with some ugly ascii.
|`````````````````````````````````````````|
| container |
| |
||```````| |`````````````````````````````||
|| Fixed | | Floated right. ||
|| Width | | ?? 100% - left div width ||
|| float | | ||
|| left | | ||
|````````` ```````````````````````````````|
Basically I want the div on the right to fill all the remaining space even if it doesn't have enough content to do so. The right div has block type content.