Topic: background-position changed in FF1.5 (Page 1 of 1) |
|
---|---|
Maniac (V) Inmate From: raht cheah |
![]() I have something to say, maybe a question, let's type and see what it's about... code: body { background : white url('bg.gif') no-repeat center center; }
code: body { background : white url('bg.gif') no-repeat [b]fixed[/b] center; }
|
Obsessive-Compulsive (I) Inmate From: |
![]() I've always used the background-position before the background-repeat in the condensed background properties, and at first I thought this might be the culprit. Evidently not. code: background-attachment: fixed; background-position: center;
|
Paranoid (IV) Inmate From: Florida |
![]() Check to see if you have html & body set to min-height or height 100%. |
Maniac (V) Inmate From: raht cheah |
![]() |
Lunatic (VI) Inmate From: under the bed |
![]() Couple of sidenotes - |
Maniac (V) Inmate From: raht cheah |
![]() what are the various other issues? I knock out a lotta layouts and rarely find need for it, plus I thought it caused me scrollbar grief once which put me off a bit... |
Obsessive-Compulsive (I) Inmate From: |
![]() Well, my answer was relatively off-base. Thanks for the heads up. |
Lunatic (VI) Inmate From: under the bed |
![]() JK - mainly that if you want anything to actually behave with a height of 100%, the HTML and the BODY elements need to have that specified. Otherwise, 100% means 100% of the content filled area, not 100% of the viewport. |
Maniac (V) Inmate From: raht cheah |
![]() quote:
quote:
|
Paranoid (IV) Inmate From: Florida |
![]() This is an improvement, actually. Before 1.5 technically Gecko was not keeping to spec. It may have been simpler, but it's a small price to pay for standards conformity. |
Maniac (V) Inmate From: raht cheah |
![]() |