Image 100% height and width in a divHi,
I have been trying to get an image to adjust to the size of the divbut it only seems to work in chrome.
I have a wrapper div 100% height and width and inside it I have a MainContent div with 100% height and 75% width as well as a menu div which is 100% height and 25% width. Inside the MainContent div I have an image which I want to stretch to the size of it.
As i have mentioned it works fine in Chrome but in all other browsers the height doesnt seem to be working on the length of the screen which causes scrolbars to appear and I don't want that...I just need it the height to be the length of the screen resolution.
I have tried many different ways and none of it seems to work.
Any ideas please let me know.