I've been searching all over for a solution to this issue, but so far I haven't had any luck. Basically, I have an image that is 1800 pixels wide by 500 pixels high. I need this image to adapt to all screen resolutions. Instead of having a fixed width, it should be displayed as a percentage of the browser window size.
My goal is to have it occupy 80% of the width of the browser window...
Any ideas on how to achieve this using jQuery? It would mostly depend on the initial size of the browser window when opened. It doesn't necessarily need to shrink if someone decides to resize their browser window.
I understand this is a unique issue, so any assistance would be greatly appreciated!