Fixed Background Issue

This is a discussion on "Fixed Background Issue" within the Web Page Design section. This forum, and the thread "Fixed Background Issue are both part of the Design Your Website category.



 Subscribe in a reader

Go Back   Webforumz.com > Main Forums > Design Your Website > Web Page Design

Notices


Reply
 
LinkBack Thread Tools
  #1  
Old Mar 17th, 2008, 20:09
Junior Member
Join Date: Oct 2007
Location: UK
Age: 22
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
Fixed Background Issue

Hi, im trying to get a background to stay fixed within a div when i scroll, which i have managed to do but it messes up when i scroll outside the div.

i know it makes no sense.

you can see what i mean at http://users5.nofeehost.com/leenic/search.asp?Make=

and my full css code is pasted here http://paste.css-standards.org/35377


thanks for your help,


leenic
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote

  #2  
Old Mar 17th, 2008, 21:11
unitedcraig's Avatar
SuperMember

SuperMember
Join Date: Oct 2007
Location: Stockport
Age: 17
Posts: 844
Blog Entries: 1
Thanks: 0
Thanked 1 Time in 1 Post
Re: Fixed Background Issue

Code: Select all
background-attachment: fixed;
Add this to your CSS, this should work

Craig
__________________
Last Blog Entry: A Royal Mistake (Feb 20th, 2008)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #3  
Old Mar 17th, 2008, 21:55
Junior Member
Join Date: Oct 2007
Location: UK
Age: 22
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Fixed Background Issue

i already have that in my CSS.


any more suggestions?


thanks.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #4  
Old Mar 17th, 2008, 22:01
unitedcraig's Avatar
SuperMember

SuperMember
Join Date: Oct 2007
Location: Stockport
Age: 17
Posts: 844
Blog Entries: 1
Thanks: 0
Thanked 1 Time in 1 Post
Re: Fixed Background Issue

You have set the background for the whole details section, try adding it individually for each, and remove the on for the whole details section
__________________
Last Blog Entry: A Royal Mistake (Feb 20th, 2008)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #5  
Old Mar 17th, 2008, 22:15
Reputable Member
Join Date: Jun 2007
Location: uk
Posts: 459
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Fixed Background Issue

I think Craig is saying just remove background-attachment:fixed; from your #details.

That should sort it.

Pat
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #6  
Old Mar 17th, 2008, 22:29
unitedcraig's Avatar
SuperMember

SuperMember
Join Date: Oct 2007
Location: Stockport
Age: 17
Posts: 844
Blog Entries: 1
Thanks: 0
Thanked 1 Time in 1 Post
Re: Fixed Background Issue

Yeh, as this is affecting the whole div, causing the whole background to be fixed, but giving the impression that it isn't when you scroll
__________________
Last Blog Entry: A Royal Mistake (Feb 20th, 2008)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #7  
Old Mar 18th, 2008, 09:55
Junior Member
Join Date: Oct 2007
Location: UK
Age: 22
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Fixed Background Issue

i tried that but its not changing it at all

anymore suggestions?



thanks
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
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 On

Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] About "background-image: fixed;" Scrolling Issues doctypedeclaration Web Page Design 9 Apr 13th, 2008 18:54
[SOLVED] Background issue (CSS) delusion Web Page Design 2 Dec 19th, 2007 14:26
[SOLVED] Fixed Background Image? Jack Franklin Web Page Design 4 Oct 7th, 2007 19:45
Fixed background?! supanova75 Web Page Design 5 Aug 10th, 2007 23:40
fixed background with shadow aaronh Graphics and 3D 12 Mar 5th, 2007 21:35


All times are GMT. The time now is 18:53.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

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