Background images for a table?

can you put background images in a table? I know how to do it for a page but can this be done?
JAGDIGITALAsked:
Who is Participating?
 
Patricia080698Commented:
Am I going to get my points? I don't want to upset anyone here. JAGDIGITAL, if you think that I don't deserve the points then by all beans it is up to you. Sorry if I caused any misundertandings.

P.S By the way it is Patricia. AnitaP is someone else.
0
 
vendrigCommented:
Yes, but first you have to decide what constraints you want to put on the browser of the viewer (version).
0
 
Patricia080698Commented:
yes. it can be done. example:
<table width="100%" background="image.gif">
    <tr><td>....</td></tr>
</table>
0
Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

 
JAGDIGITALAuthor Commented:
Thanks but what I meant was can you have an image behind a table that contains text (html). Sort of like -layering the text over the image?
I guess Style Sheets would be an option?
0
 
VitenkaCommented:
Sure, you can put an image in the background, just like with the page
(if its a new enough browser to display etc etc)
Same syntax as with <BODY ... >
Isn't that the answer you just got?
Could you explain better what you mean if the code isn't what you want?

<BODY BACKGROUND="image1.gif">

Here is a table with a new background...

<TABLE WIDTH=50% ALIGN=CENTER BACKGROUND="image2.gif">
<TR>
<TD>
And here is the left box.
</TD>
<TD BACKGROUND="image3.gif">
And here is the right box...
In newest browsers, it will have a different
<BR>
Background again.
</TD>
</TR>
</TABLE>

And back to the origional background image.

</BODY>
0
 
millarchCommented:
Yes for Internet Explorer, no for Nestscape.
The answer from Patria is correct:
<table width="100%" background="image.gif">
    <tr><td>....</td></tr>
</table>

.but it only works with Internet Exlorer V4. Sorry, Netscape simply doesn't support this feature.
0
 
AnitaPCommented:
millarch : don't you think I should get My points. After all, why should JAGDIGITAL give you the points when I have given the same answer but got rejected ?

0
 
JAGDIGITALAuthor Commented:
Well I don't want to upset anyone so if ANITA reposts the question I will award her the points!
THANKS JASON
0
 
millarchCommented:
The "points" are not the issue here... I just wanted to emphasize that AnitaP or Patricia (what is the right name anyway?) is partially right and her solution works fine for IE.
0
 
JAGDIGITALAuthor Commented:
OK...my mistake!
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.