Forum Moderators: open

Message Too Old, No Replies

Fixed Background in Firefox

         

Old_Nick

9:17 pm on Dec 21, 2006 (gmt 0)

10+ Year Member



I'm using image as a background of my html pages. I want that background was fixed, using *body background="images/bgtext.jpg" bgproperties=fixed* in Opera and IE it works but not in Firefox :( .
Due this some pages have horizontal lines:(

Any ideas?

tedster

7:56 am on Dec 22, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Your troubles are due tothe fact that bgproperties is not a W3C standard attribute. Try using the CSS rule, background-attachment:fixed

[w3.org...]

Old_Nick

7:37 pm on Dec 25, 2006 (gmt 0)

10+ Year Member



Thanks, now it is correct!