A pedant that hangs out in the dark corner-cases of the web.

Wednesday, November 22, 2006

Client-side include recipe

<!--[if IE]>
<object classid="clsid:25336920-03F9-11CF-8FD0-00AA00686F13" data="some.html">
<p>backup content</p>
</object>
<![endif]-->

<!--[if !IE]> <-->
<object type="text/html" data="some.html">
<p>backup content</p>
</object>
<!--> <![endif]-->

The included body, for IE, must also specify border:0;overflow:visible.

Insert HTML page into another HTML page | published @ aplus moments

No comments: