Closed Bug 294925 Opened 20 years ago Closed 20 years ago

CSS background image centred vertically but NOT horizontally

Categories

(Core :: Layout, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 119518

People

(Reporter: The2Nicks, Unassigned)

References

()

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.8) Gecko/20050511 Firefox/1.0.4
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.8) Gecko/20050511 Firefox/1.0.4

Similar to bug 292404.
I am an ardent user of Firefox instead of IE and I hate to admit that this works
ok in IE but not in Firefox.
The www.babyemporium.com site has two <div> panes, the left-hand menu-bar and
the main panel. The background is set in CSS to appear horizontally and
vertically centred in the main panel. In Firefox the background image appears
centred on the browser window NOT the main panel area.
If this is a bug in my CSS then please advise.

Reproducible: Always

Steps to Reproduce:
1.go to www.babyemporium.com
2.click on "Contactos" in the left-hand menu-bar
3.you should see the background image - it's not centred

Actual Results:  
Exactly as detailed above

Expected Results:  
I expected the background image to be centred in the panel to which it applies
NOT the browser window.


This "bug" (feature!) is reproducible every time with Firefox using standard
settings.
It has occurred in Firefox versions 1.0 through 1.0.4 which I'm now using.
Firefox is correct here; fixed relative to the viewport is what
background-attachment:fixed is supposed to do. 

*** This bug has been marked as a duplicate of 119518 ***
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Component: General → Layout
Product: Firefox → Core
Resolution: --- → DUPLICATE
Version: unspecified → Trunk
You need to log in before you can comment on or make changes to this bug.