Is there a way to simply "embedd" (for lack of a better term) a xhtml file within another xhtml file?
For example:
<body>
<div id="wow">
@embed "second.htm"
</div>
I know it is not correct syntax, but I need to know if this sort of thing is possible with only XHTML and CSS...nothing else.
Thanx.You can't do it using CSS because that's not what CSS is used for. If you want to include another file, then use something like SSI, PHP, etc...I would too recommend server-side, though what you're trying to do can be done by the means of the <object> element:<object data="foo.html" type="text/html">
<!-- alternate content for non-conforming browsers -->
</object>
For example:
<body>
<div id="wow">
@embed "second.htm"
</div>
I know it is not correct syntax, but I need to know if this sort of thing is possible with only XHTML and CSS...nothing else.
Thanx.You can't do it using CSS because that's not what CSS is used for. If you want to include another file, then use something like SSI, PHP, etc...I would too recommend server-side, though what you're trying to do can be done by the means of the <object> element:<object data="foo.html" type="text/html">
<!-- alternate content for non-conforming browsers -->
</object>