in article 936ek6$[EMAIL PROTECTED], rvj at [EMAIL PROTECTED] wrote
on 1.6.2001 1:36a:
>
> I have a 'containing' document containing multiple iframes. Each iframe
> contains a document that refers to the same external style sheet in a link
> statement.
>
> 1. Am I correct in thinking that only one copy of the stylesheet will be
> cached (shared) ?
>
> 2. Am I correct in thinking that it is not possible to inherit the
> attributes of the containing (parent) document?
>
> For example, if a parent document defines an in-line style with the color
> attribute for body is set to red, I assume it is not possible for each of
> the iframe documents to inherit red as the 'default' color?
>
> It seems that something like this should be possible since sibling documents
> can access shared functions by using 'top' or 'parent'.
>
> Presumably the correct approach is for the parent and sibling documents to
> use the same link statement pointing to the common stylesheet which brings
> me back to my initial question regarding cache ( and duplicate copies)
>
>
I don't know, I'd have to figure it out by setting up a test document... My
suggestion would be to build a mockup to test these. And if you're feel
generous with your newfound knowledge, you could even post the results to
the group ;)
--
Adrian Price, Web Designer, Ah-Pook Industries
http://www.ah-pook.com/
"The hypothesis is false. An infinite number of typing monkeys would quickly
result in an infinite number of jammed typewriters, not Hamlet."