DEV Community

Discussion on: In Swedish, are HTML elements "i" or "på" eachother?

Collapse
 
jonaspetri profile image
Jonas Petri

To be clear, I meant something like this:

<div height=“50” width=“50”>
  <div height=“50” width=“50” style=“padding:25px”></div>
</div>
Enter fullscreen mode Exit fullscreen mode

In this case the inner div will arguably be “på” the outer div as long as you don’t add the overflow: hidden; css rule.

Thread Thread
 
baenencalin profile image
Calin Baenen

Thanks.
This is very useful!