Note that there are some explanatory texts on larger screens.

plurals
  1. POIs this a CSS inheritance issue?
    primarykey
    data
    text
    <p>This is my css:</p> <pre><code> .sub-content-border { background-image: url(/images/borders/sub-content/top.gif); background-repeat: repeat-x; background-position: top; } .sub-content-border div { background-image: url(/images/borders/sub-content/bottom.gif); background-repeat: repeat-x; background-position: bottom; } .sub-content-border div div { background-image: url(/images/borders/sub-content/left.gif); background-repeat: repeat-y; background-position: left; } .sub-content-border div div div { background-image: url(/images/borders/sub-content/right.gif); background-repeat: repeat-y; background-position: right; } .sub-content-border div div div div { background-image: url(/images/borders/sub-content/top-left.gif); background-repeat: no-repeat; background-position: left top; } .sub-content-border div div div div div { background-image: url(/images/borders/sub-content/top-right.gif); background-repeat: no-repeat; background-position: right top; } .sub-content-border div div div div div div { background-image: url(/images/borders/sub-content/bottom-left.gif); background-repeat: no-repeat; background-position: left bottom; } .sub-content-border div div div div div div div { background-image: url(/images/borders/sub-content/bottom-right.gif); background-repeat: no-repeat; background-position: right bottom; padding: 18px; } .sub-content-border div div div div div div div div { background-image: url(/images/blank.gif); padding: 0px; } </code></pre> <p>This is my HTML:</p> <pre><code>&lt;div class="sub-content-border"&gt;&lt;div&gt;&lt;div&gt;&lt;div&gt;&lt;div&gt;&lt;div&gt;&lt;div&gt;&lt;div&gt;&lt;div&gt; Test &lt;div class="sub-content-border"&gt;&lt;div&gt;&lt;div&gt;&lt;div&gt;&lt;div&gt;&lt;div&gt;&lt;div&gt;&lt;div&gt;&lt;div&gt; Test &lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt; &lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt; </code></pre> <p>However, rather than getting a frame inside a frame, the inside frame does no exist (see image: i47.tinypic.com/kcihcy.jpg)</p> <p>Does anyone know why?</p> <p>However, if i do a dirty trick and add the CSS in styles, it shows up:</p> <pre><code> &lt;div class="sub-content-border"&gt;&lt;div&gt;&lt;div&gt;&lt;div&gt;&lt;div&gt;&lt;div&gt;&lt;div&gt;&lt;div&gt;&lt;div&gt; Test &lt;div class="sub-content-border" style="background-image: url(/images/borders/sub-content/top.gif); background-repeat: repeat-x; background-position: top;"&gt; &lt;div style="background-image: url(/images/borders/sub-content/bottom.gif); background-repeat: repeat-x; background-position: bottom;"&gt; &lt;div style="background-image: url(/images/borders/sub-content/left.gif); background-repeat: repeat-y; background-position: left;"&gt; &lt;div style="background-image: url(/images/borders/sub-content/right.gif); background-repeat: repeat-y; background-position: right;"&gt; &lt;div style="background-image: url(/images/borders/sub-content/top-left.gif); background-repeat: no-repeat; background-position: left top;"&gt; &lt;div style="background-image: url(/images/borders/sub-content/top-right.gif); background-repeat: no-repeat; background-position: right top;"&gt; &lt;div style="background-image: url(/images/borders/sub-content/bottom-left.gif); background-repeat: no-repeat; background-position: left bottom;"&gt; &lt;div style="background-image: url(/images/borders/sub-content/bottom-right.gif); background-repeat: no-repeat; background-position: right bottom; padding: 18px;"&gt; &lt;div style="background-image: url(/images/blank.gif); padding: 0px;"&gt; Test &lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt; &lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt; </code></pre> <p>see image: <a href="http://i46.tinypic.com/2dh9ut2.jpg" rel="nofollow noreferrer">http://i46.tinypic.com/2dh9ut2.jpg</a></p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload