backround image
- onlyproductions
-
onlyproductions
- Member since: Oct. 30, 2005
- Offline.
-
- Forum Stats
- Member
- Level 11
- Blank Slate
how do u make the back round image appear in the middle of the screen
.
- Loccie
-
Loccie
- Member since: Feb. 27, 2004
- Offline.
-
- Forum Stats
- Member
- Level 16
- Blank Slate
I don't know if it would work but put this between the <head> and </head> tag.
<style type="text/css">
background-image: url(background.gif);
background-position: center center ;
background-repeat: no-repeat;
</style>
(Don't put a background parameter in the bodytag.)
- elbekko
-
elbekko
- Member since: Jul. 23, 2004
- Offline.
-
- Forum Stats
- Member
- Level 16
- Blank Slate
http://newgrounds.com/bbs/topic.php?id=5 60616
<style type="text/css">
body{
background-color: #000000;
background-image: url(bla.jpg);
background-position: center;
background-attachment: fixed;
background-repeat: no-repeat;
}
</style>
"My software never has bugs. It just develops random features. " - Unknown
[ FluxBB developer | Quickmarks 0.5.1 | Strings & Ints - my blog ]
- Beam-Jim
-
Beam-Jim
- Member since: Oct. 22, 2006
- Offline.
-
- Forum Stats
- Member
- Level 04
- Blank Slate
If you know HTML you can use this one
<html>
<head>
<body background="youpicture.jpg ">
</body>
</head>
</html>
sorry if my HTML has some errors
- Jessii
-
Jessii
- Member since: Feb. 10, 2005
- Offline.
-
- Forum Stats
- Member
- Level 36
- Movie Buff
At 11/4/06 08:01 AM, jimi-MOD wrote: sorry if my HTML has some errors
That's just not the preferred way to do it. CSS is preferred and much better to use than regular html.
- KabouterJaap
-
KabouterJaap
- Member since: Jan. 5, 2006
- Offline.
-
- Forum Stats
- Member
- Level 19
- Blank Slate
At 11/4/06 08:01 AM, jimi-MOD wrote: <head>
<body background="youpicture.jpg ">
</body>
</head>
and you should close head first before you start with body
- smulse
-
smulse
- Member since: Mar. 24, 2005
- Offline.
-
- Forum Stats
- Member
- Level 31
- Blank Slate
At 11/4/06 01:07 PM, keramikon wrote:At 11/4/06 08:01 AM, jimi-MOD wrote: <head>and you should close head first before you start with body
<body background="youpicture.jpg ">
</body>
</head>
ftw

