Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>First off: This isn't an answer, however I have several points and it's more readable as an answer.</p> <p>I don't think what you want is possible. Having elements slide under each other is normally something one want to avoid, so it's not a "standard behavior" of CSS. </p> <p>You'd have to use absolute positioning to have elements overlap each other, but then you can't have the elements adjust width and height to their contents.</p> <p>The best I can think of is JavaScript, which could be based on the existing layout (so that it would still be displayed without JavaScript), and just "kick in", when the elements need to overlap. However that wouldn't be a simple script to write, because calculating the correct width it needs to react too, isn't simple.</p> <p>Another alternative could be <a href="http://www.w3.org/TR/css3-mediaqueries/" rel="nofollow">CSS 3 Media Queries</a>, which allow you define different CSS rules based on window size, however that would require you to know at exactly which width you want the change.</p> <p>As I mentioned having elements overlap - especially when they contain text, which one would expect to be able to read - is something one usually tries to avoid. Maybe you should describe your exact scenario (which elements contain which kind of information, and why it's ok for them to overlap) instead of your perceived solution, then it may be possible to suggest alternatives. </p> <p>BTW I can't see how iframes would have to do with problem at all. </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.
    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