Strange centered background image behaviour in Firefox

Discussion in 'HTML' started by Roger, Dec 10, 2006.

  1. Roger

    Roger Guest

    Hi,

    Can anybody help to fix the vertical centering of an image in Firefox (2.0)?
    Apparently, Firefox puts the top half of the image in the background of the
    top of the screen instead of placing it just in the middle of the screen.
    Works wel in IE though.

    The code itself is very simple as you can see here:
    http://map.minifig.be/slide/back.html

    Any help is appreciated.

    Roger
    Roger, Dec 10, 2006
    #1
    1. Advertising

  2. Roger

    Roger Guest

    I got it working now.
    Only needed this:
    html, body {
    width: 100%;
    height: 100%;
    }

    Thanks,

    "Roger" <> wrote in message
    news:9pTeh.229487$-ops.be...
    > Hi,
    >
    > Can anybody help to fix the vertical centering of an image in Firefox
    > (2.0)? Apparently, Firefox puts the top half of the image in the
    > background of the top of the screen instead of placing it just in the
    > middle of the screen. Works wel in IE though.
    >
    > The code itself is very simple as you can see here:
    > http://map.minifig.be/slide/back.html
    >
    > Any help is appreciated.
    >
    > Roger
    >
    >
    >
    Roger, Dec 10, 2006
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. simast
    Replies:
    2
    Views:
    363
  2. Bazil

    Centered Image

    Bazil, Dec 12, 2004, in forum: HTML
    Replies:
    3
    Views:
    445
    Mr Bean
    Dec 13, 2004
  3. jc
    Replies:
    3
    Views:
    1,717
  4. Joshua
    Replies:
    2
    Views:
    228
  5. Joshua
    Replies:
    1
    Views:
    95
Loading...

Share This Page