do the td tag this way:
<td style="background-color:#0
IE only.
Cd&
Main Topics
Browse All Topicsi have a table with an image in the background. what i want to do is have one of the cells have a background of white but make the white transparent so that the tables image shows through. i only want the white to be transparent and not affect the text within the cell. can this be done with css? i have done it but it makes the background and anything else with the cell transparent.
thanks.
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
Take a look at this (IE only):
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html
<html>
<head>
<title>example page</title>
<style type="text/css">
.text {color:#000; position: absolute; top:100px;left:100px;borde
.box {background-image: url(myimage.jpg);filter:al
</style>
</head>
<body><table><tr>
<td class="box"><td class="text">This text is not affected by the transparency</td></tr></ta
</body>
</html>
..without tables:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html
<html>
<head>
<title>example page</title>
<style type="text/css">
.text {color:#000; position: absolute; top:100px;left:100px;borde
.box {background-image: url(myimage.jpg);filter:al
</style>
</head>
<body>
<div class="box"></div><div class="text">This text is not affected by the transparency</div>
</body>
</html>
i have tried everyones suggestions but it hasnt quite worked yet. so i have a couple questions for each of you.
COBOLdinosaur - i can only get the white box to be shown or not be shown using your code. if you could explain to me how to make it transparent, change the opacity, it may work.
strolfey - i thought about using and even tried early the gif but it just doesnt look right. thanks though.
daydreams - you idea works great with only one problem. the text that is covered by the transparent box has links in it which the box covers and doesnt allow them to be used. if you have any way of fixing this it would be great.
i will keep trying the code and playing with them all hopefully something will come up soon. thanks to all.
i am working with the following code as well as trying your suggestions. kind of a combination or everthing:
<td width="100" height="230" align="left" valign="top" bgcolor="#FFFFFF; filter:alpha(opacity='40',
but for some reason the background ends up red. but the links do work with it.
Hi,
A couple of things...
1. Your td cell is turning red because you've missed the style parameter, so the browser is likely seeing #FFFFFF0 - or something to that effect. Also, those other parameters are not needed unless you're going for some type of gradient effect.
<td width="100" height="230" align="left" valign="top" style="background-color:#F
The problem though - is that this is going to effect the text as well, and there's no way to override it as long as you're styling the cell - everything internal will also get styled.
One possible solution is to use div's and absolute positioning, similar to Daydreams code above, but with the table code and the div code combined. A lot of code for a simple effect, nothing new there :-)
Here's an example for you - most of the coding in the second example is inline to help you see what's going on.
http://www.pdgmedia.com/ee
My bad you have to declare the chroma at the body level. so ieffects the whole page. That is why you use a color code like #000001, the you are only using specificaly where yu want transparency. As for controling opacity. Nope... does not have parameters. You have the alpha filter for that, and as you have already seen, it doesn't have teh capbality to allow what you want.
You will have to compromise on something; change your design; or continue chasing your tail, because the way yu want it to work cannot be done. I think Daydreams is going to get you the closest approxiamtion.
Cd&
Business Accounts
Answer for Membership
by: dorwardPosted on 2004-04-02 at 05:08:39ID: 10740248
The short answer is: No
The long answer is that you could use a background image with partial transparency, but Internet Explorer doesn't support it.