View Full Version : Table Opacity Help
08-06-2005, 05:37 AM
Does anyone know an element for control over table opacity that I can add to a stylesheet? :confused:
08-06-2005, 06:09 AM
Because IE and Mozilla use different methods to control that, both should be used:
}Moz opacity values range from 0.00 to 1.00 and alpha opacity from 0 to 100. Unfortunately, alpha opacity has a tendency to make text look a little weird.
08-26-2005, 02:15 AM
Sorry to bring up an old thread, but does anyone know a way to have just the background of the table change in the opacity, and not the contents, like text and images. This would make the effect perfect for what I am trying to do.
08-26-2005, 04:18 AM
Strictly speaking that is not possible. The opacity of an object is total, background and foreground, including all contained elements. However, tricks may be employed. One is to make the text darker or lighter and bolder than you normally would have them and pictures darker or lighter (using a graphics program). That way, even though the entire containing element is partially transparent, the text and pictures will not appear to be, at least not as much. Whether to make things lighter or darker depends upon what is behind the containing element. Another trick is to use absolute or relative positioning to make things appear to be in the partially transparent element, when they are actually elsewhere.
Powered by vBulletin® Version 4.2.2 Copyright © 2016 vBulletin Solutions, Inc. All rights reserved.