Static background problem

O

ofiras

Hi everyone,
I tried making my background static (when I scroll down, the
background image "moves" to, so it doesn't change), and I wrote in the
body tag "bgproperties='fixed'", but it didn't work.
What can be the problem, and how can I fix it?
Please help,
Ofir
 
T

Thomas Mlynarczyk

ofiras said:
I tried making my background static (when I scroll down, the
background image "moves" to, so it doesn't change), and I wrote in the
body tag "bgproperties='fixed'", but it didn't work.
What can be the problem, and how can I fix it?

bgproperties="fixed" is not valid HTML. Do it the right way - use CSS:

<body style="background-attachment: fixed">

or even better, use an external stylesheet:

body { background-attachment: fixed; }

Greetings,
Thomas
 
O

ofiras

bgproperties="fixed" is not valid HTML. Do it the right way - use CSS:

     <body style="background-attachment: fixed">

or even better, use an external stylesheet:

     body { background-attachment: fixed; }

Greetings,
Thomas

Thanks,
Ofir.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,582
Members
45,065
Latest member
OrderGreenAcreCBD

Latest Threads

Top