I’m trying to code more “responsive” after reading Ethan Marcote’s A Book Apart.
I have come up with a case which I’m not sure how to solve. In a li element, I have four different divs. The first one cannot change width or height (I know this isn’t responsive but the image size must remain the same within it). The other three divs can stretch as they are just text.
Now, I know I can set the divs to have different percentages of their parent width, which is fine, except for the fact that div1 HAS to be a defined pixel width. This throws out the calculations for the other percentages (browser width – 77px is going to be a different number for different browser sizes), so what shall I do?
I’ve whipped up this to help illustrate my problem.

As I mention, I realise I can use JS to set a container div’s width on document load and resize but that seems, well, not so great.
Thanks for any help 🙂
Maybe table somethings can help