Fit the url content in iframe


#1

I’m passing the website url in my iframe src. The website gets loaded but it’s width doesn’t fit the screen’s width. It overflows out of the screen. I’ve attached the screenshot for reference.

I want the website content width to fit the screen while able to scroll vertically to view below contents. I tried setting width attribute to it but it didn’t worked. Tried different css properties and failed again. Any help would be highly appreciated. Thanks in advance.


#2

Change the website code so it handles such small width appropriately. (Open it in a normal browser and make the browser this width - same effect)


#3

The website we are embedding here is not ours. So, can’t make changes there. Is there any alternative of iframe that might be able to fit it into the device screen?