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. Advertisements

  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. Advertisements

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:
    464
  2. Bazil

    Centered Image

    Bazil, Dec 12, 2004, in forum: HTML
    Replies:
    3
    Views:
    521
    Mr Bean
    Dec 13, 2004
  3. jc
    Replies:
    3
    Views:
    1,995
  4. jc
    Replies:
    1
    Views:
    1,578
    Neredbojias
    Mar 19, 2008
  5. Dj Frenzy
    Replies:
    3
    Views:
    529
    Robert
    Feb 10, 2004
  6. ft310
    Replies:
    8
    Views:
    280
    -Lost
    Jun 5, 2007
  7. Joshua
    Replies:
    2
    Views:
    363
  8. Joshua
    Replies:
    1
    Views:
    161
Loading...