Closed Thread Icon

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

 
marf
Bipolar (III) Inmate

From: Canada
Insane since: Oct 2001

posted posted 05-03-2002 00:50

This should be an easy answer.
I have a table, I would like to add a background image to it
what is the code to put in the <table>

Thanks

GRUMBLE
Paranoid (IV) Mad Scientist

From: Omicron Persei 8
Insane since: Oct 2000

posted posted 05-03-2002 00:58

try background="image.jpg"
but im not sure...

brucew
Paranoid (IV) Inmate

From: North Coast of America
Insane since: Dec 2001

posted posted 05-03-2002 02:41

If that doesn't do it, try the CSS way: <table style="background-image: url(image.jpg);">

"the most incredible feats are often accomplished by
those who have had the most incredible challenges"

[This message has been edited by brucew (edited 05-03-2002).]

DL-44
Maniac (V) Inmate

From: under the bed
Insane since: Feb 2000

posted posted 05-03-2002 03:23

Yes, it is an easy question, with an easy answer.

However, if you are at a stage where you need to ask such a question, it is eveident that learning HTML might be in order.

That may sound like an obvious suggestion, but please take it - for your own sake as well as ours.

Follow these links -
http://www.w3.org/TR/html4/intro/intro.html http://www.w3.org/MarkUp/#tutorials

And read everything you can. Then go play in your webspace.



CPrompt
Maniac (V) Inmate

From: there...no..there.....
Insane since: May 2001

posted posted 05-03-2002 14:17

Both Grumble and brucew ( and of course DL-44) are right.

I would just be careful doing this. If you have an image with a lot of stuff and set the width to a percentage the image will expand and contract on screen size. May not want that. Usually best to put things like that in an absolute sized table.

There are ways to make the background repeat nicely with the size of the screen though. check out the top header of mr.maX page http://www.maxworld.co.yu

Later,
C:\


~Binary is best~

Slime
Lunatic (VI) Mad Scientist

From: Massachusetts, USA
Insane since: Mar 2000

posted posted 05-03-2002 21:44

background="image.jpg"

...supposedly. I hear NN 4.x doesn't like it.

bitdamaged
Maniac (V) Mad Scientist

From: 100101010011 <-- right about here
Insane since: Mar 2000

posted posted 05-04-2002 07:59

It's not that NN4+ doesn't like it except it has a bad habit of rerendering the background in embedded tables so you need to set the background of the embedded table to a transparent gif



.:[ The Tao of Steve ]:.
Be Desireless
Be Excellent
Be Gone
...................................

Slime
Lunatic (VI) Mad Scientist

From: Massachusetts, USA
Insane since: Mar 2000

posted posted 05-04-2002 09:56

Whoa... I could have sworn when I posted that, no one else had replied yet. I must be out of it. Gotta get more sleep...

marf
Bipolar (III) Inmate

From: Canada
Insane since: Oct 2001

posted posted 05-05-2002 14:52

I know html very well, I just havn't put a background into a table in a long time. i tried background="grid.jpg" but it didn't show. Then I realized that the grid.jpg wasn't in the right place. LOL

Thanks for your help

Rameses Niblik the Third
Maniac (V) Mad Scientist

From: From:From:
Insane since: Aug 2001

posted posted 05-06-2002 02:33

Yes, you have to be absolutely sure of where the background image is, otherwise it won't work. I was once trying to make a website, and it took me almost two weeks to figure out where the image was. You need to make sure wether it's a JPEG file or a GIF file, otherwise it will be looking for something in the wrong format, and that would be bad.

"...And let it be known that all men are created equal, although some men are created more equally than others."
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

DocOzone
Maniac (V) Lord Mad Scientist
Sovereign of all the lands Ozone and just beyond that little green line over there...

From: Stockholm, Sweden
Insane since: Mar 1994

posted posted 05-06-2002 13:13

I posted a good Netscape 4.x fix last week sometime, see Table background and Netscape 4.7 , you *can* have one full image filling a table, yet also have cells with different things. Easy fix, but not too obvious.

Your pal, -doc-

« BackwardsOnwards »

Show Forum Drop Down Menu