Could someone help me on a simple code that makes my table semi-transparent, i have looked throught all the other posts concerning this topic, but i haven't found a code that had worked, i use both firefox and ie.
-Thank-you
Could someone help me on a simple code that makes my table semi-transparent, i have looked throught all the other posts concerning this topic, but i haven't found a code that had worked, i use both firefox and ie.
-Thank-you
The first filter, is for IE. "50" means fifty percent transparent. The second opacity setting is for Firefox, the transparency is on a scale of 0.0 to 1.0, 0.5 is half transparent.Code:<table style="filter:alpha(Opacity=50);opacity:0.5">
- Mike
And everything else that supports CSS3. You might want to add some more for older browsers:The second opacity setting is for FirefoxHowever, it still won't work in Opera, which doesn't (as far as I remember, although there's something niggling in the back of my brain) support opacity at all.Code:<table style="filter:alpha(Opacity=50); opacity:0.5; -moz-opacity:0.5; -khtml-opacity:0.5;">
Twey | I understand English | 日本語が分かります | mi jimpe fi le jbobau | mi esperanton komprenas | je comprends français | entiendo español | tôi ít hiểu tiếng Việt | ich verstehe ein bisschen Deutsch | beware XHTML | common coding mistakes | tutorials | various stuff | argh PHP!
Thank-you for your help, the table displayed in fire fox doesn't show the borders, but in ie it does, is there some way to fix this?
Do you want it to show the border or not?
Twey | I understand English | 日本語が分かります | mi jimpe fi le jbobau | mi esperanton komprenas | je comprends français | entiendo español | tôi ít hiểu tiếng Việt | ich verstehe ein bisschen Deutsch | beware XHTML | common coding mistakes | tutorials | various stuff | argh PHP!
yes i do want it to show the border
Code:<table style="filter:alpha(Opacity=50); opacity:0.5; -moz-opacity:0.5; -khtml-opacity:0.5; border:3px white ridge;">
Twey | I understand English | 日本語が分かります | mi jimpe fi le jbobau | mi esperanton komprenas | je comprends français | entiendo español | tôi ít hiểu tiếng Việt | ich verstehe ein bisschen Deutsch | beware XHTML | common coding mistakes | tutorials | various stuff | argh PHP!
Thank-you, that works, but my column border line doesn't show up
The style of the table border doesn't affect the inside borders. Write Twey's code on the <td> tags too.
Last edited by mburt; 01-05-2007 at 09:47 PM.
- Mike
i had switched it to a black border, but my column line doesn't show up just the border around the whole table
Bookmarks