How to resize a webpage to fill an iframe – Mercurythread

SEO

My coding skills are a bit out of practice these days – I hack about in PHP a fair bit but in terms of CSS I need to brush up. So when someone said to me – can we resize a webpage into an iframe so we syndicate the content I thought no prob.

And TBH its so easy even I worked it out in under 10 minutes, using no JavaScript, with only Google for assistance. You know when I say that I had to cobble together stuff from Google as TBH I didnt really like the responses I was getting.

So the code below is what I’ve came up with…

Which displays as :

Anyway there is another implementation over @ http://epicureanadventures.co.uk/2013/05/03/one-minute-holidays-from-thomson/

About: admin