Jump to content

Archived

This topic is now archived and is closed to further replies.

Gutspiller

Getting background not to scroll in both IE and FF?

Recommended Posts

I am currently using this code:

[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">
[/code]

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.

Share this post


Link to post
Share on other sites
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

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.