Be a Supporter!

backround image

  • 468 Views
  • 6 Replies
New Topic Respond to this Topic
onlyproductions
onlyproductions
  • Member since: Oct. 30, 2005
  • Offline.
Forum Stats
Member
Level 11
Blank Slate
backround image 2006-11-04 03:49:07 Reply

how do u make the back round image appear in the middle of the screen


.

BBS Signature
Loccie
Loccie
  • Member since: Feb. 27, 2004
  • Offline.
Forum Stats
Member
Level 16
Blank Slate
Response to backround image 2006-11-04 06:58:12 Reply

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
Response to backround image 2006-11-04 07:31:43 Reply

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 ]

BBS Signature
Beam-Jim
Beam-Jim
  • Member since: Oct. 22, 2006
  • Offline.
Forum Stats
Member
Level 04
Blank Slate
Response to backround image 2006-11-04 08:01:53 Reply

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
Response to backround image 2006-11-04 08:35:10 Reply

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
Response to backround image 2006-11-04 13:07:36 Reply

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
Response to backround image 2006-11-04 15:32:58 Reply

At 11/4/06 01:07 PM, keramikon wrote:
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

ftw


BBS Signature