This is a discussion on "[SOLVED] Fixed Background Image?" within the Web Page Design section. This forum, and the thread "[SOLVED] Fixed Background Image? are both part of the Design Your Website category.
|
|
|
|
|
![]() |
||
[SOLVED] Fixed Background Image?
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
#1
|
||||
|
||||
|
[SOLVED] Fixed Background Image?
I know there is a way to make it so if I had a background image and then scroll down the page, the background image doesn't move. But I cannot remember how. Can anyone help?
Also - which browsers support it?
__________________
Jack Franklin - Webforumz Moderator (x)HTML | CSS | PHP | MySQL | JQuery (Javascript) Contact: My Blog | Twitter | Delicious Want Lessons? PM me. If you think I've helped, please press the 'Thanks' Button.
Last Blog Entry: A Week with VBulletin (Aug 28th, 2008)
|
|
|
|
#2
|
|||
|
|||
|
Re: Fixed Background Image?
Here you go!
|
|
#3
|
||||
|
||||
|
Re: Fixed Background Image?
Thank you, that's just what I needed.
__________________
Jack Franklin - Webforumz Moderator (x)HTML | CSS | PHP | MySQL | JQuery (Javascript) Contact: My Blog | Twitter | Delicious Want Lessons? PM me. If you think I've helped, please press the 'Thanks' Button.
Last Blog Entry: A Week with VBulletin (Aug 28th, 2008)
|
|
#4
|
|||
|
|||
|
Re: Fixed Background Image?
You're welcome!!
|
|
#5
|
|||
|
|||
|
Re: [SOLVED] Fixed Background Image?
Note that background-attachment: fixed is partially broken in IE6.
You're fine provided you only use it on the <body> element. So Linda's solution will work correctly for the vast majority of cases. If you want to apply it to any other element, however, things get messy. Here's an example that fails in IE6. You can fix this with nasty hacks. IE7 doesn't need these hacks. Last edited by MikeHopley; Oct 7th, 2007 at 19:47. |
![]() |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| [SOLVED] Background image not showing | Aso | Web Page Design | 1 | Apr 22nd, 2008 15:54 |
| [SOLVED] About "background-image: fixed;" Scrolling Issues | doctypedeclaration | Web Page Design | 9 | Apr 13th, 2008 18:54 |
| [SOLVED] image background | dab42pat | Graphics and 3D | 4 | Jan 7th, 2008 03:50 |
| [SOLVED] Background Image Help | RZX Developer | Web Page Design | 4 | Dec 12th, 2007 09:39 |
| [SOLVED] div background image problem in ie | Rincewind | Web Page Design | 7 | Nov 30th, 2007 09:30 |