# Include-source still avaliable in CSS?

**URL:** <https://forum.kirupa.com/t/include-source-still-avaliable-in-css/264446>\
**Category:** Uncategorized\
**Created:** [June 26, 2008, 7:21am UTC](https://forum.kirupa.com/t/include-source-still-avaliable-in-css/264446 "2008-06-26T07:21:04Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![guinness](https://avatars.discourse-cdn.com/v4/letter/g/e495f1/32.png) [@guinness](https://forum.kirupa.com/u/guinness)\
**Post date:** [June 26, 2008, 7:21am UTC](https://forum.kirupa.com/t/include-source-still-avaliable-in-css/264446/1 "2008-06-26T07:21:04Z")

</div>

trying to use the ‘include-source’ in CSS as found at

[http://www.free-scripts.net/html\_tutorial/css/properties/generate/incsource.htm](http://www.free-scripts.net/html_tutorial/css/properties/generate/incsource.htm)

seems like a simple way to avoid some javascript.

I am making a page in which I have a div on the left. I want to load the external page (essentially linked thumbnail images) to use as a navigation. (to avoid placing thumbs of same items on multiple pages)

If I understand it correctly, it should take the content from the external page (in my case portthumbs.html) and drop the content into the div.

It doesn’t seem to work and it registers as an error in my debugger but I have seen samples.

CSS:

> 

#portnav {  
position: absolute;  
width: 181px;  
height: 411px;  
include-source: url(“portthumbs.html”);  
}

#portnav img{  
float:left;  
border: 3px solid #999999;  
}

XHTML:

> 

\<div id= “left”\>  
\<div id= “portnav”\>

```
  &lt;/div&gt;            

```

\</div\>

Am I missing something? Does it not work with FF?

I am running FF on WinXP and using XHTML 1.0 Strict for validation.

---

<div class="post-metadata">

**Author:** ![ajcates](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/ajcates/32/2435_2.png) [@ajcates](https://forum.kirupa.com/u/ajcates)\
**Post date:** [June 26, 2008, 9:12am UTC](https://forum.kirupa.com/t/include-source-still-avaliable-in-css/264446/2 "2008-06-26T09:12:09Z")

</div>

[http://www.w3schools.com/css/css\_reference.asp](http://www.w3schools.com/css/css_reference.asp) - The official css reference guide.  
According to the official reference, include-source is not valid css. Also if you notice to the left of the properties, it will show you what works in what browsers.

---

<div class="post-metadata">

**Author:** ![simplistik](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/simplistik/32/7747_2.png) [@simplistik](https://forum.kirupa.com/u/simplistik)\
**Post date:** [June 26, 2008, 12:41pm UTC](https://forum.kirupa.com/t/include-source-still-avaliable-in-css/264446/3 "2008-06-26T12:41:16Z")

</div>

you need to keep that sort of logic outside of css and stop trying to make css do things like that for you.

---

<div class="post-metadata">

**Author:** ![fasterthanlight](https://avatars.discourse-cdn.com/v4/letter/f/ecc23a/32.png) [@fasterthanlight](https://forum.kirupa.com/u/fasterthanlight)\
**Post date:** [June 26, 2008, 1:12pm UTC](https://forum.kirupa.com/t/include-source-still-avaliable-in-css/264446/4 "2008-06-26T13:12:10Z")

</div>

Yea, this is why PHP, PERL and other server side languages exist

---

<div class="post-metadata">

**Author:** ![guinness](https://avatars.discourse-cdn.com/v4/letter/g/e495f1/32.png) [@guinness](https://forum.kirupa.com/u/guinness)\
**Post date:** [July 6, 2008, 7:05am UTC](https://forum.kirupa.com/t/include-source-still-avaliable-in-css/264446/5 "2008-07-06T07:05:32Z")

</div>

after some research and hours wasted on js tuts that didn’t do quite what i wanted… realized what i needed in the end was iframes.
