Thread: backgrounds
Results 1 to 4 of 4
Related
-
backgrounds Forum: Graphics Forum
Replies: 9 -
iframes backgrounds Forum: HTML Forum
Replies: 7 -
Gradients in backgrounds Forum: HTML Forum
Replies: 4 -
Backgrounds and Images Forum: HTML Forum
Replies: 13 -
Backgrounds Forum: HTML Forum
Replies: 2
-
11-06-2002, 08:31 PM #1
backgrounds
Hey,
I've got a website (obviously), and i had one before where i had made the background a "fixed" image. So that it didn't move when i scrolled, but everything else on the page would move. But, i deleted that site (stupid stupid stupid) and now i can't remember where i got the code from or what the code was. So if anyone could help me out, please lemme know. Frustration isn't fun lol.
-J-Rod
-
11-07-2002, 07:32 AM #2
Hi there.
The best way is to use CSS, put this code, modified for your image, in the <head> of your document -
Code:<style type="text/css"> body { background-image: url(yourimagefile.jpg); background-repeat: no-repeat; background-attachment: fixed; bavkground-position: top right; } </style>
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?
-
11-14-2002, 08:26 AM #3
-
11-14-2002, 10:00 AM #4
RE
yes u can can use css
just add dean's code like so :
**code start**
<html><head>
<style type="text/css">
body {
background-image: url(yourimagefile.jpg);
background-repeat: no-repeat;
background-attachment: fixed;
bavkground-position: center;
}
</style>
</head><body>
**code end**
Cloudjiffy- PaaS for Developers
10-05-2020, 12:30 AM in Web Hosting Forum