Forums

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

Home Forums CSS Trying to get a background image body and html

  • This topic is empty.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #44523

    Hello

    I am trying to get the body to have one background

    And HTML to have another.

    http://codepen.io/mwbcomputers/pen/kEeoq

    It is not the way I usually would do it but have no choice its to do with software I am using

    #133938

    How do you force html image to show above body image?

    #133939
    CrocoDillon
    Participant

    Not sure what it is you’re trying to accomplish but you need to have content to see the body background otherwise body height is 0 (or `html { height: 100%; } body { min-height: 100%; }`)

    What do you mean by html background above body background? You can give the body a top margin if I understand you correctly.

    #133940
    Paulie_D
    Member

    >How do you force html image to show above body image?

    You can’t. The `body` is inside the `html`. Just reverse them if you need a particular order.

    #133950

    I will try and re configure the systems layout see how I go do it over week end.

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