The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS height propegation from leaf to branches?

  • This topic is empty.
Viewing 1 post (of 1 total)
  • Author
  • #28571


    So, I know that height 100% only propagates DOWN the DOM. Which is fine and dandy.

    But I have a different issue.

    Say I have a structure like so:

    some stuff in here of variable height
    some stuff in here of variable height

    Now the layout is perfect, in that I can get the modules to be dynamic height, and the second module correctly appears in the next row and all that…

    Except when I inspect using firebug, it looks to firebug as if the someModule has no height [which it doesn’t explicitly because it is dynakic in height] which means that even though the secondBlock appears correctly after it, firebug has its x,y origin actually much higher than where it should be. Which results in bad placement of my background image on secondBlock…?

    I’ve had this issue before. Essentially I need a div to communicate its height (or width) UP the DOM, instead of just passing nothing upwards… so that the next DIV section knows where it is…

    Any Suggestions?



Viewing 1 post (of 1 total)
  • The forum ‘CSS’ is closed to new topics and replies.