You had to set the <object>
to
object {
height: 100%;
width: 100%;
}
Also you had two ID
with the same name, that does not work! ;)
Pregunta
I'm trying to embed a website a website into a div, but the problem i'm having is that the website i'm embedding isn't filling up the whole div.
The code i have right now:
$("#Rectangle").html('<object data="http://dmatthams.co.uk/thing/gwd/">');
(Relevant jsfiddle) http://jsfiddle.net/j997K/
As you can see, the website that is embedded isn't filling up the whole div. Any ideas on how i could fix that?
(And also, i need to use Jquery)
Solución
You had to set the <object>
to
object {
height: 100%;
width: 100%;
}
Also you had two ID
with the same name, that does not work! ;)