CSS INCLUDE-SOURCE
This property inserts another document into the current document, replacing the current element’s content. Any elements or CSS properties applied to or inherited by the current element are applied to the inserted content as well.
Example
div {
position: absolute;
top: 100px; left: 300px;
width: 200px; height: 200px;
border: thin solid black;
include-source: url(http://www.example.com/testpage.htm);
}
Possible Values
[URL]: An absolute or relative URL pointing to a document. If rendering of the document is not possible by the browser, it should be ignored and the regular element content be displayed instead.
11 Responses
I’ve not been able to get this to work. Is it a form of CSI?
Neither have I.
Not only is it ignored by all the browsers I’ve tried (4), Coda also doesn’t recognise the syntax.
So what’s the story on this please?
This would be a great attribute to have as a designer/developer if this worked fluidly across all browser platforms.
It would be interesting to know if this has been resolved to work across all browsers, or if this is something to expect in the future.
Sounds like a harmful property to me. The purpose of CSS is to separate the layout from the content.
I guess this is some loony web browser invention and not W3 approved?!
Hello,
I would love to use this property, looks great to me
as this can also be used to insert dynamic data into the element which sounds nice too me :).
This trick doesn’t work with any browser
include-source is an old Netscape Navigator proprietary property, it is not part of the CSS3 specification, or any other CSS specification for that matter.
The only browser which supports include-source is Netscape Navigator version 4 onwards.
Thanks!
But this is not working in any of browser.how it works
I think this property violate the layer separation concept.
Content should stay with HTML + Server-Side Language, not with CSS
Does not work for me either