CSS Transparent Table

lordtron

New Member
Messages
85
Reaction score
0
Points
0
I am trying to have a transparent table(30%) and have another table within it thats not transparent.



Here is the code I am using to make the first table 30% transparent:

style="color:black;background:black;filter:alpha(opacity=30);-moz-opacity:.30;opacity:.30;"


What do I need to do to make the table within that one not transparent in anyway? I have tried several ways to do this and none seem to work or they just make it worse.
 

diabolo

Community Advocate
Community Support
Messages
1,682
Reaction score
32
Points
48
you might want to use CSS, since it would be alot easier to see.
tables can be given 'id' atribute
example
Code:
<table id="foo1">
<td id="foo2">
<tr id="foo2">
 

bonzo meier

Member
Messages
47
Reaction score
0
Points
6
have you tried?
Code:
style="background-color:#000000 !important;"

i think it should work...

peace, bonzo
 

lordtron

New Member
Messages
85
Reaction score
0
Points
0
Alright where would I put : style="background-color:#000000 !important;"

I tried putting it on the table within the transparent table and it did nothing different. I even put it on the transparent table and still nothing happened.



Plus, I have id's on the tables and still nothing happens differently.
 

lordtron

New Member
Messages
85
Reaction score
0
Points
0
I want the text and everything else I put inside the table to be at 100%, I dont want anything but the first table to be transparent.
 

VPmase

New Member
Messages
914
Reaction score
1
Points
0
Give the text their own style.
HTML:
<div id="content inside table" style="opacity:1;filter:alpha(opacity:100); -moz-opacity: 1;">Text</div>
 

javayathzee

New Member
Messages
38
Reaction score
0
Points
0
Ive tried messing with semi transparent things before and found that its a bit of a pain. Hopefully once CSS 3 is finally made a standard things will be fixed. For now I'd say... I don't know. After all the other ideas didn't work I don't know what to say :)
 

lordtron

New Member
Messages
85
Reaction score
0
Points
0
If you guys want. I can put a link to the page so you can try to get it all working....
I really need this working for my new website I want to get up and running....
 
Top