Solved

Background images for a table?

Posted on 1998-09-17
10
176 Views
Last Modified: 2013-12-25
can you put background images in a table? I know how to do it for a page but can this be done?
0
Comment
Question by:JAGDIGITAL
  • 3
  • 2
  • 2
  • +3
10 Comments
 
LVL 2

Expert Comment

by:vendrig
Comment Utility
Yes, but first you have to decide what constraints you want to put on the browser of the viewer (version).
0
 
LVL 1

Expert Comment

by:Patricia080698
Comment Utility
yes. it can be done. example:
<table width="100%" background="image.gif">
    <tr><td>....</td></tr>
</table>
0
 

Author Comment

by:JAGDIGITAL
Comment Utility
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
 

Expert Comment

by:Vitenka
Comment Utility
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
 

Expert Comment

by:millarch
Comment Utility
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
IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

 

Expert Comment

by:AnitaP
Comment Utility
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
 

Author Comment

by:JAGDIGITAL
Comment Utility
Well I don't want to upset anyone so if ANITA reposts the question I will award her the points!
THANKS JASON
0
 

Expert Comment

by:millarch
Comment Utility
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
 

Author Comment

by:JAGDIGITAL
Comment Utility
OK...my mistake!
0
 
LVL 1

Accepted Solution

by:
Patricia080698 earned 50 total points
Comment Utility
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

Featured Post

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

Suggested Solutions

Problem to be resolved in this article Currently, development of website and web application can be done without writing thousands of lines of programming code by hand. Description This can be done through by using a open source framework such …
"In order to have an organized way for empathy mapping, we rely on a psychological model and trying to model it in a simple way, so we will split the board to three section for each persona and a scenario and try to see what those personas would Do,…
The viewer will learn how to dynamically set the form action using jQuery.
The viewer will learn how to count occurrences of each item in an array.

771 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now