I have set up my website so that my background image dynamically resizes when the window is resized (no stretching, just cutting part off if the ratio is too small). How can I reposition my navigation containers dynamically as well to work with this. Percentage doesn't work, because if the viewer resizes the window in only one dimension, it throws the positioning way off.
The website is not live, so I can't show you, but this is how I'm doing the background resize:
<img src="images/background.jpg" id="backgroundimage"/>