In the past, I have achieved this by using padding. The concept is to have two div elements positioned side by side, where one has a width of 100% and the other has a fixed width of 50px.
Here's a rough illustration:
------------------------------------------------
| 100% | 50px |
------------------------------------------------
I am looking for a solution that meets the following criteria:
- No use of javascript
- Width should be exactly 100%, not less like 95%