Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

fixed background using javascript

Status
Not open for further replies.

lucidtech

IS-IT--Management
Jan 17, 2005
267
0
0
US
I recently asked about fixed backgrounds in the CSS forum, and was directed here. When I set my background as fixed in CSS, the scrolling is choppy... this is what was suggested to me. Any ideas?

I've never had a good experience with fixed background images to be honest - the browser has to do a lot more work in rendering the page when scrolling, thus the "jumpy" appearance.

Personally, I'd ditch it if it's causing grief, or perhaps use a JS solution instead (to auto-position an absolutely positioned DIV at 0,0 regardless of the scroll position)... but I'd ask in forum216: Javascript about this one.

Hope this helps,
Dan
 
fixed background bad idea until people stop using IE6.
using a scrollable iframe would be better.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top