OZONE Asylum
Forums
CSS - DOM - XHTML - XML - XSL - XSLT
background-position changed in FF1.5
This page's ID:
27312
Search
QuickChanges
Forums
FAQ
Archives
Register
Edit Post
Who can edit a post?
The poster and administrators may edit a post. The poster can only edit it for a short while after the initial post.
Your User Name:
Your Password:
Login Options:
Remember Me On This Computer
Your Text:
Insert Slimies »
Insert UBB Code »
Close
Last Tag
|
All Tags
UBB Help
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. Anyhow, I remembered vaguely about an Owen Briggs article on background centering problems, so I found it again. Looks like Firefox 1.5 is exhibiting [i]almost the exact same behaviour[/i] as Opera 5.2. http://www.thenoodleincident.com/tutorials/box_lesson/opera/index.html His solution? To use: [code]background-attachment: fixed; background-position: center;[/code] I think that's actually what your code is doing, though whether you realized this I don't know... I forgot altogether about the background-attachment property. Anyhow, nice catch. It should probably be reported as a bug if it isn't already. In the interim, you solution works, as does the other code at thenoodleincident.com. Keep in mind that if the page breaks the bottom of the window, your background will now (as I don't believe it does with background-position: center center) stay fixed to the window and scroll with the page. Cheers, DC
Loading...
Options:
Enable Slimies
Enable Linkwords
« Backwards
—
Onwards »