Topic: Adding Background Images (Page 1 of 1) Pages that link to <a href="https://ozoneasylum.com/backlink?for=9583" title="Pages that link to Topic: Adding Background Images (Page 1 of 1)" rel="nofollow" >Topic: Adding Background Images <span class="small">(Page 1 of 1)</span>\

 
Hiroki
Paranoid (IV) Inmate

From: NZ
Insane since: Dec 2002

posted posted 01-14-2003 00:15

Hi,guys. How are ya? I am trying to add background images. But seems it doesn't work at all. Please help me.

Well, firstly I created gif file by PS. It is called "grey.gif" "sand.gif" and "sea.gif" which are situated in same folder with this HTML code. Then my HTML code is following:

<html>
<table border=1 background="/images/devimages/grey.gif" cellpadding=10>
<tr>
<th>Fish</th>
<th>Invertebrates</th>
</tr>

<tr background="/images/devimages/sand.gif">
<td>Guppy</td>
<td>Snail</td>
</tr>

<tr>
<td>Swordtail</td>
<td background="images/devimages/sky.gif">Crayfish</td>
</tr>
</table>

</html>

Actually this code came from Tutorial. I dnn't know about "devimages". What is it?

Any advices are highy apreciated. Thanks.



Hiroki Kozai

JKMabry
Maniac (V) Inmate

From: out of a sleepy funk
Insane since: Aug 2000

posted posted 01-14-2003 00:59

you paths are looking for images in the folloiwing places:

background="/images/devimages/grey.gif" www.yourdomain.com/images/devimages/grey.gif

background="/images/devimages/sand.gif" www.yourdomain.com/images/devimages/sand.gif

and

background="images/devimages/sky.gif"
depends on where your html file is at, this is calling sky.gif from 2 directories under the current.

If, as you say, your images are in the same directories as your html file, use this:

background="imagename.gif"

Jason

edit:

/ <--- that takes you to the root of your web space
../ <--- that backs you out one directory
<--- that (nothing) is in the same directory as the file calling it


[This message has been edited by JKMabry (edited 01-14-2003).]

Slime
Lunatic (VI) Mad Scientist

From: Massachusetts, USA
Insane since: Mar 2000

posted posted 01-14-2003 01:00

It's a directory name.

If the images are in the same folder as the HTML page, then you just want

background="sand.gif"

and

background="sea.gif"

just as though you were doing a hyperlink to the image.

Hiroki
Paranoid (IV) Inmate

From: NZ
Insane since: Dec 2002

posted posted 01-14-2003 01:16

Hi, guys. Thanks a lot. I will try it. Have a good day.
From chilly windy summer day in NZ.

Hiroki Kozai

Steve
Maniac (V) Inmate

From: Boston, MA, USA
Insane since: Apr 2000

posted posted 01-14-2003 02:39

Sigh. Cross posting again. Meow and I wrote you nice replies at GN. Won't bother to repeat it here.

Emperor
Maniac (V) Mad Scientist with Finglongers

From: Cell 53, East Wing
Insane since: Jul 2001

posted posted 01-14-2003 02:57

And the link at the GN was:
http://development.gurusnetwork.com/discussion/thread/1813/

Hiroki: As I've said at the GN:

quote:
If you are going to cross-post please indicate that you have done so with a link to the other thread so these good people don't waste their valuable time.



[edit: Forgot the link ]

___________________
Emps

FAQs: Emperor

Hiroki
Paranoid (IV) Inmate

From: NZ
Insane since: Dec 2002

posted posted 01-14-2003 08:14

Sorry for that.
I keep it in my mind.

Hiroki Kozai



Post Reply
 
Your User Name:
Your Password:
Login Options:
 
Your Text:
Loading...
Options:


« BackwardsOnwards »

Show Forum Drop Down Menu