I have designed a portfolio website that loads photos as background images.
The site, including the loaded background images will resize to fit any display, however my client wishes to have a maximum resolution so the photos cannot be looked at in too much detail. Let's say it auto-resizes but maxes out at 1344px by 800px.
I have tried embedding the site using an iFrame and the following CSS code:
Code:
<style type="text/css">
iframe {
width: auto;
height: auto;
max-width: 1344px;
max-height: 800px;
}
</style>
This works like a chram in Chrome and Safari. But it seems as if IE and Firefox do not take into account the background image.
The site i'm trying to embed is:
tarahickman.co.uk/new
This is the iframe I have tried:
http://tarahickman.co.uk/taranew.html
If anybody can help that would be great.