1: can I load a html page into a div tag?
2: can I put a div inside of a div?
Printable View
1: can I load a html page into a div tag?
2: can I put a div inside of a div?
1) yes, using the object tag
2) yes, it is used quite often
object tag?????
That easy
I have been using PHP!!
How does that work?
objecttest.html
Code:<html>
<head><title>Object test</title></head>
<body>
<object data="objecttest2.html" type="text/html"></object>
</body>
</html>
objecttest2.html
Code:<p> This is in object test 2 </p>
output of objecttest.html
Quote:
This is in object test 2
so....
<div class="tester">
<object data="objecttest2.html" type="text/html"></object>
</div>
Will have objecttest2.html show up inside of tester?
yes, but I don't think that it will be the same as have the code from objecttest2 directly in the div. But, test it out, you may have to have the CSS in the included file