Making semi transparent tables (I have no idea :P)

Soldato
Joined
18 Oct 2002
Posts
3,803
Location
Bristol
Hi i want to go about this, if you saw my previous thread about Iframes you will probably know i dont know much about making websites.

I believe the best way to go about this is to use CSS? I have had a look around the net but there are no clear guides as to how i can apply it to a website.

For the sake of this post i will say i have a webpage with a background image of a car, the website has 1 small table with some text in with a white background, i however want to make the white background semi transparent.

I believe you have to use Alha filters or something like that, any help would be GREATLY appreciated :)
 
Nice, but how do i apply that line of code to the table :confused: :(

EDIT: Figured it out now.

HOWEVER, i now get a security warning in internet explorer which i have to accept before it will allow me to see it transparent? How stupid is that!
 
Last edited:
Spunkey said:
in the document head...
Code:
    <style>
        .opaque {
            /* for IE */
            filter: alpha(opacity=75);

            /* for FF/Moz */
            opacity: 0.75;}
    </style>

and in your HTML...
Code:
    <table class="opaque">
        <tr>
            <td>hello</td>
        </tr>
    </table>


Cheers got it now, but i now get the secuirty warning as described above ^^
 
Nope its a background photo, a small table with text in and the transparency settings.

It thinks its Active X or something? :p
 
Ah seems ok, it onl happens when i double click the HTML file on my desktop if i view it from the web the secuirty warning does not appear.

Thanks for your help spunkey :)
 
Back
Top Bottom