| |||||||
| Programming and Assembly Language Please read this Topic's rules!! |
![]() |
| | LinkBack | Thread Tools | Rate Thread |
| ||||
| CSS setting opacity in a table background Cascading Style Sheets. Anyone know how to go about setting a table background to be black with some opacity?
__________________ I am folding with an AMD A64, Intel Atom, nvidia GPU, & PS3 Cell Processor. Join AOA's team today! Last edited by danrok; 27th May, 2007 at 11:04 AM. |
| ||||
| try Code: .tinytableopacity {
FONT-SIZE: small;
FONT-FAMILY:sans-serif;
background: transparent;}
.tinytableopacity TD {
border:1px solid black;
FONT-SIZE: xx-small;
FONT-FAMILY: sans-serif;
filter:alpha(opacity=40);
-moz-opacity:.40;
opacity:.40;}
there is 3 pages of stuff there... having a quick flick through it, it looks quite useful and informative hth Last edited by Toro; 27th May, 2007 at 06:56 PM. |
| ||||
| I don't think you can get opacity to work at all in IE 6. IIRC it is a CSS3 extension, and so has only limited support in any of the browsers.
__________________ Avatar and sig graphic by Pitch. Subscribers! Ask about a custom graphic or avatar today! Gizmo Thermal Diode Mod and Direct-Die Water Block 8-Cheetah 18GiB U-2 SCSI MegaRAID Enterprise 1500/128MiB Samsung SyncMaster 955DF TTGI/Superflower TTS-520 PSU ![]() ![]() ![]() |
| ||||
| Both IE and FF support an opacity capability, that is NOT standard CSS. In addition, FF supports the CSS3 opacity property. Opacity is specified using the CSS3 property: opacity:x Where x is a value between 0.0 and 1.0 IE 6 and 7 do not support this. Instead, they support Microsoft's own proprietary extensions for this capability (In their defense, I know CSS3 wasn't a standard when IE 6 came out. I don't know why it isn't included in IE 7, though). To get the opacity effect on IE, you have to use: filter:alpha(opacity=x) where x is a number between 0 and 100 Firefox has supported the CSS3 opacity property since FF 1.0, from what I can find. It also supports a proprietary extension used in earlier Mozilla browsers (again because CSS3 wasn't finalized). The extension is: -moz-opacity:x; where x is a number between 0.0 and 1.0 (similar to the final CSS3 spec). So, that's the story on the opacity property. I learned something new today.
__________________ Avatar and sig graphic by Pitch. Subscribers! Ask about a custom graphic or avatar today! Gizmo Thermal Diode Mod and Direct-Die Water Block 8-Cheetah 18GiB U-2 SCSI MegaRAID Enterprise 1500/128MiB Samsung SyncMaster 955DF TTGI/Superflower TTS-520 PSU ![]() ![]() ![]() |
| ||||
| Thanks! No wonder I was getting confused.
__________________ I am folding with an AMD A64, Intel Atom, nvidia GPU, & PS3 Cell Processor. Join AOA's team today! |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Rate This Thread | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Blackjack table $49.99. | mookydooky | Online Deals, and Steals | 0 | 7th December, 2004 04:49 PM |
| I'm flying up the table :) | Soul99 | Samuknow's AOA FOLDING@HOME Team | 4 | 28th May, 2004 02:52 PM |
| Two Questions Regarding on 1). Forum 2). Background Color | whatever | Forum Feedback and Suggestion Box | 12 | 16th May, 2004 10:39 AM |
| Running in the background? | SadisticWarrior | OS, Software, Firmware, and BIOS | 2 | 9th April, 2003 11:53 AM |
| What is your desktop's background look like? | AznParaTrooper | Random Nonsense! | 76 | 7th July, 2002 11:23 AM |