html - Displaying a web page inside another without frames -


i want display webpage inside website page. how safe approach below, , how practice this?

<div style="margin: 0 auto; width:100%; height:400px;"><object type="text/html" data="http://answers.yahoo.com/" style="width:100%; height:400px; margin:1%;"></object></div> 

it will, effectively, iframe fewer features , weaker support.

use iframe instead.


Comments

Popular posts from this blog

javascript - Iterate over array and calculate average values of array-parts -

php - Time zone issue -

iphone - Using nested NSDictionary with Picker -