I need to apply backgroundimage to div.Here my div height and width was dynamic.
My problem was If div width and height was 100px,and yhe image width and height was 50px.In this situation i need to strech the image to whole div.How can i do this .Can any one provide sample css code.Below is the code which i am using…
I don’t think he is referring to an image which can be repeated over a particular axis. He is referring to an image which is of a particular width and height. I think you should refer to that tutorial where Chris resizes a background body image with change of browser size. May be you can get any leads from there :)