Thread: Non-scrolling background
Results 1 to 3 of 3
Related
-
Scrolling problems Forum: HTML Forum
Replies: 1 -
yet another scrolling table ? Forum: HTML Forum
Replies: 3 -
Text scrolling... Forum: HTML Forum
Replies: 1 -
scrolling text Forum: HTML Forum
Replies: 1 -
scrolling text Forum: HTML Forum
Replies: 1
-
09-18-2001, 08:22 PM #1
Non-scrolling background
I have seen web pages where the background image does not scroll with the rest of the contents of the page. Is this just another tag property that I don't know about, or is it more complicated?
-
09-19-2001, 02:22 PM #2
Hiya C, welcome to the forums!
the answer is ...depends.
there is a HTML tag for a non-scrolling background, but it has been depreciated in favour of Cascading Style Sheets.
the CSS answer is to paste this into your <HEAD> (unless you already use CSS, so add this to your Style SHeet ...
<style>
<!--
body {
background-image: url(yourimage.jpg);
background-attachment: fixed;
}
-->
</style>
This will achieve what you are after.
have fun!"If one of our members helps you, please click theicon to add to their reputation!
No support via email or private message - use the forums!
Before you ask, have you Searched?
-
09-19-2001, 07:38 PM #3
Thanks
Thanks Dean, that was exactly what I was looking for.