Be a Supporter!

backround image question

  • 422 Views
  • 5 Replies
New Topic Respond to this Topic
CalumTurner
CalumTurner
  • Member since: Jun. 25, 2006
  • Offline.
Forum Stats
Member
Level 02
Blank Slate
backround image question 2006-07-08 14:12:36 Reply

hey everyone

quick question, i have an image which i want to put as backround image on my site, html of php, either is fine. my question is ive used a bg backround code, but i also want to put stuff on the template, like when its uploaded to the site, i want to put a menu bar and stufff, plz help me, ive tried BGbackround code, help plz

- lucas

elbekko
elbekko
  • Member since: Jul. 23, 2004
  • Offline.
Forum Stats
Member
Level 16
Blank Slate
Response to backround image question 2006-07-08 14:26:55 Reply

<body style="background-image: url(<path>)">

That should do it


"My software never has bugs. It just develops random features. " - Unknown

[ FluxBB developer | Quickmarks 0.5.1 | Strings & Ints - my blog ]

BBS Signature
DearonElensar
DearonElensar
  • Member since: Jun. 10, 2002
  • Offline.
Forum Stats
Member
Level 18
Blank Slate
Response to backround image question 2006-07-08 14:27:15 Reply

can you please be more clear what you want because i don't have a clue at the moment...
and you can't use php for backgrounds etc. you need html (and maybe some css) for that (tho php can output html, but it can't do anything like that itself, you still need html)


BBS Signature
JeremysFilms
JeremysFilms
  • Member since: Feb. 18, 2005
  • Offline.
Forum Stats
Member
Level 18
Blank Slate
Response to backround image question 2006-07-08 19:35:24 Reply

At 7/8/06 02:26 PM, elbekko wrote: <body style="background-image: url(<path>)">

That should do it

That's in CSS, if he wanted to do it in HTML, he'd use:

<body background="PATH">

ludnix
ludnix
  • Member since: Feb. 4, 2006
  • Offline.
Forum Stats
Member
Level 02
Blank Slate
Response to backround image question 2006-07-09 13:21:52 Reply

He doesn't sound like he would care if it's in CSS, not that he should anyways.

elbekko
elbekko
  • Member since: Jul. 23, 2004
  • Offline.
Forum Stats
Member
Level 16
Blank Slate
Response to backround image question 2006-07-09 13:25:59 Reply

I find using CSS alot cleaner... and valid


"My software never has bugs. It just develops random features. " - Unknown

[ FluxBB developer | Quickmarks 0.5.1 | Strings & Ints - my blog ]

BBS Signature