HTML background problem.....?
In HTML, what code can make the background not scroll with the page? I want my background to stay in place while my page scrolls, that's all. It'd be nice if you can just write out the code rather than giving me a link. Thanks in advance!
Other Answers:
There are two ways.
<body background="image.gif" bgproperties="fixed"> on each page of your site, or
background-attachment: fixed; in a Cascading Stylesheet file.
Not all browsers support the CSS method - for example Firefox does not, but IE does.
<body background="image.gif" bgproperties="fixed"> on each page of your site, or
background-attachment: fixed; in a Cascading Stylesheet file.
Not all browsers support the CSS method - for example Firefox does not, but IE does.
0 коммент.:
Post a Comment