Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Background images for a table?

Posted on 1998-09-17
10
Medium Priority
?
182 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
  • 2
  • +3
10 Comments
 
LVL 2

Expert Comment

by:vendrig
ID: 1855099
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
ID: 1855100
yes. it can be done. example:
<table width="100%" background="image.gif">
    <tr><td>....</td></tr>
</table>
0
 

Author Comment

by:JAGDIGITAL
ID: 1855101
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
RHCE - Red Hat OpenStack Prep Course

This course will provide in-depth training so that students who currently hold the EX200 & EX210 certifications can sit for the EX310 exam. Students will learn how to deploy & manage a full Red Hat environment with Ceph block storage, & integrate Ceph into other OpenStack service

 

Expert Comment

by:Vitenka
ID: 1855102
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
ID: 1855103
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
 

Expert Comment

by:AnitaP
ID: 1855104
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
ID: 1855105
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
ID: 1855106
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
ID: 1855107
OK...my mistake!
0
 
LVL 1

Accepted Solution

by:
Patricia080698 earned 200 total points
ID: 1855108
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

Plesk WordPress Toolkit

Plesk's WordPress Toolkit allows server administrators, resellers and customers to manage their WordPress instances, enabling a variety of development workflows for WordPress admins of all skill levels, from beginners to pros.

See why 2/3 of Plesk servers use it.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Australian government abolished Visa 457 earlier this April and this article describes how this decision might affect Australian IT scene and IT experts.
When it comes to security, close monitoring is a must. According to WhiteHat Security annual report, a substantial number of all web applications are vulnerable always. Monitis offers a new product - fully-featured Website security monitoring and pr…
Viewers will get an overview of the benefits and risks of using Bitcoin to accept payments. What Bitcoin is: Legality: Risks: Benefits: Which businesses are best suited?: Other things you should know: How to get started:
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.
Suggested Courses

688 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