set image size with respect to the screen resolution
I am trying to build a website for myself.. I want to use an image as the header... I have made sure that my background will scale itself for any screen resolution... How do i make sure the image(header) will also scale it self according to the screen resolution... for example: my image is 350px int width and 130px in height.. i want this to be the size when screen resolution is 1280X768.. and should change proportionally based on screen size.. Please tell me how to do this preferably using CSS.. i am also fine with js or jquery Thanks in advance Raj If you only specify the width in css, the