5 replies [Last post]
Flipper01
Offline
newbie
Groningen, Holland
Last seen: 15 years 44 weeks ago
Groningen, Holland
Timezone: GMT+1
Joined: 2003-11-12
Posts: 4
Points: 0

I want a table on my website with a white background that's 70% transparent zo you can see the background of the website through it. But if I want a picture in the table it will also get the 70% transparency Sad
I tried to give the image an alpha opacity of 100% but that didn't overrule the transparency of the table..

Anyone here with some brilliant ideas?

gripshine
Offline
newbie
Last seen: 15 years 44 weeks ago
Joined: 2003-11-12
Posts: 7
Points: 0

Opacity in a table

If I am understanding you right I think this is what you are looking for.

This is a snippet I used on one site:

.celbdy {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 10pt;
	color: #000000; 
	background-color: #ffffff;filter:alpha(opacity=80); }

Of course you can name it whatever you like and here is the body tag I used also, not sure if this will help put it in perspective:

.body {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 10px;
	color: #000000;
	background-color: #ffffff;
	background-image: url(images/building1.jpg);background-repeat:no-repeat; width:452; height:204;
	background-position: 20px 125px;
	margin-top:0;}

If you are wanting to see the site so the you can get an idea of what it looks like in application Click here

Hope this helped some.

Flipper01
Offline
newbie
Groningen, Holland
Last seen: 15 years 44 weeks ago
Groningen, Holland
Timezone: GMT+1
Joined: 2003-11-12
Posts: 4
Points: 0

Opacity in a table

I'm sorry, I didn't post the link to my site, so here it is: http://w3.frw.rug.nl/ibn/new/leden/column.htm

As you can see, my tables are transparent, like the ones on your site. But the foto is also transparent and that's my problem..

gripshine
Offline
newbie
Last seen: 15 years 44 weeks ago
Joined: 2003-11-12
Posts: 7
Points: 0

Opacity in a table

Ok I looked at your site and I see now what you are talking about, I was wandering if you could do me a favor so I can try to dup the senerio on my comp to test it out.

Can you post the CSS snippet that you are using and the code to that one table? Then I could go in and test it and find a solution if there is one.

Flipper01
Offline
newbie
Groningen, Holland
Last seen: 15 years 44 weeks ago
Groningen, Holland
Timezone: GMT+1
Joined: 2003-11-12
Posts: 4
Points: 0

Opacity in a table

gripshine wrote:
Ok I looked at your site and I see now what you are talking about, I was wandering if you could do me a favor so I can try to dup the senerio on my comp to test it out.

Can you post the CSS snippet that you are using and the code to that one table? Then I could go in and test it and find a solution if there is one.

I put all the files of my site in a zip-file: http://w3.frw.rug.nl/ibn/new/zip.zip [138kb]

Flipper01
Offline
newbie
Groningen, Holland
Last seen: 15 years 44 weeks ago
Groningen, Holland
Timezone: GMT+1
Joined: 2003-11-12
Posts: 4
Points: 0

Opacity in a table

Flipper01 wrote:
I put all the files of my site in a zip-file: http://w3.frw.rug.nl/ibn/new/zip.zip [138kb]

Did you find something out that could help me??
Or should I make another column in my table for the picture and give that column an opacity of 100%?