Jump to content


Getting background not to scroll in both IE and FF?

  • Please log in to reply
1 reply to this topic

#1 Gutspiller

  • Members
  • PipPipPip
  • Advanced Member
  • 55 posts

Posted 13 June 2006 - 08:18 PM

I am currently using this code:

<BODY TEXT="#FFFFFF" bgcolor="#2A3A4A" style="background-position: center top; background-repeat: no-repeat; background-image: url(http://www.gamersgallery.com/images/main_menu_side_background.jpg)" bgproperties="fixed" LEFTMARGIN="0" TOPMARGIN="0" bottommargin=0 rightmargin=0  MARGINWIDTH="0" MARGINHEIGHT="0">

The problem is that it only works in IE, but in FireFox it scrolls. Does anybody know what code I need so that it doesn't scroll in BOTH IE and FF?

Thanks for any info you can give me.

#2 AndyB

  • Staff Alumni
  • Advanced Member
  • 5,465 posts
  • LocationToronto

Posted 13 June 2006 - 09:08 PM

use proper CSS - [a href=\"http://www.w3.org/TR/CSS21/colors.html#background-properties\" target=\"_blank\"]http://www.w3.org/TR/CSS21/colors.html#background-properties[/a]

background-attachment: fixed
Legend has it that reading the manual never killed anyone.
My site

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users