Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > HTML > Strange centered background image behaviour in Firefox

Reply
Thread Tools

Strange centered background image behaviour in Firefox

 
 
Roger
Guest
Posts: n/a
 
      12-10-2006
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



 
Reply With Quote
 
 
 
 
Roger
Guest
Posts: n/a
 
      12-10-2006
I got it working now.
Only needed this:
html, body {
width: 100%;
height: 100%;
}

Thanks,

"Roger" <> wrote in message
news:9pTeh.229487$...
> 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
>
>
>



 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
DIV background-repeat background-image? For shadow effect jc ASP .Net 3 03-19-2008 04:19 PM
Hide Show Multiple Div in the same place centered in firefox Joshua Javascript 1 10-19-2007 03:11 PM
Hide/Show Multiple Div Centered (in firefox and ie) Joshua Javascript 2 10-18-2007 12:28 PM
Centered Image Bazil HTML 3 12-13-2004 12:49 AM
Absolute coords on centered image. simast HTML 2 09-19-2004 06:39 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57