AOA AOA AOA Folding For Team 45 AOA Files Home Front Page Become an AOA Subscriber! UserCP Calendar Memberlist FAQ Search Forum Home


Go Back   AOA > Software > Programming and Assembly Language

Programming and Assembly Language Please read this Topic's rules!!

Reply
 
LinkBack Thread Tools Rate Thread
  #1 (permalink)  
Old 27th May, 2007, 11:03 AM
danrok's Avatar
AOA Front Page Managing Editor in Chief
 
Join Date: March 2003
Location: Great Britain
Posts: 16,702

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?
__________________
AOA Team fah
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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 27th May, 2007, 06:54 PM
Toro's Avatar
Member / Master of Toiletries
 
Join Date: May 2004
Location: On the lamb!!
Posts: 3,300
Send a message via MSN to Toro Send a message via Skype™ to Toro

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;}
wish I knew this myself... but I got it from http://www.mandarindesign.com/opacitycolor.html

there is 3 pages of stuff there... having a quick flick through it, it looks quite useful and informative

hth
__________________

"Check the Forum Rules Announcement, listed there."

AOA Team fah



Last edited by Toro; 27th May, 2007 at 06:56 PM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 27th May, 2007, 10:38 PM
Gizmo's Avatar
Chief BBS Administrator
BassTeroids Champion, Global Player Champion, Aim & Fire Champion, Puzzle Maniax Champion, Othello Champion, Canyon Glider Champion, UFO Shoot Out Champion, Unicycle Challenge Champion, Zed Champion
 
Join Date: May 2003
Location: Webb City, Mo
Posts: 14,940
Send a message via ICQ to Gizmo Send a message via AIM to Gizmo Send a message via MSN to Gizmo Send a message via Yahoo to Gizmo Send a message via Skype™ to Gizmo

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!
 
Later,
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
 

 
AOA Team filesAOA Team wcgAOA Team fah
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 28th May, 2007, 05:40 AM
Toro's Avatar
Member / Master of Toiletries
 
Join Date: May 2004
Location: On the lamb!!
Posts: 3,300
Send a message via MSN to Toro Send a message via Skype™ to Toro

works on my IE6 gizmo, also in my FF2, and I have no fancy add-ons for either
__________________

"Check the Forum Rules Announcement, listed there."

AOA Team fah


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 28th May, 2007, 10:35 AM
Gizmo's Avatar
Chief BBS Administrator
BassTeroids Champion, Global Player Champion, Aim & Fire Champion, Puzzle Maniax Champion, Othello Champion, Canyon Glider Champion, UFO Shoot Out Champion, Unicycle Challenge Champion, Zed Champion
 
Join Date: May 2003
Location: Webb City, Mo
Posts: 14,940
Send a message via ICQ to Gizmo Send a message via AIM to Gizmo Send a message via MSN to Gizmo Send a message via Yahoo to Gizmo Send a message via Skype™ to Gizmo

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!
 
Later,
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
 

 
AOA Team filesAOA Team wcgAOA Team fah
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 28th May, 2007, 12:44 PM
Toro's Avatar
Member / Master of Toiletries
 
Join Date: May 2004
Location: On the lamb!!
Posts: 3,300
Send a message via MSN to Toro Send a message via Skype™ to Toro

eeeuurrggh

me too (learnt something today)

I just did an quick Google and that was the page that came up... figured it would be what "he" was looking for
__________________

"Check the Forum Rules Announcement, listed there."

AOA Team fah



Last edited by Toro; 28th May, 2007 at 12:44 PM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 28th May, 2007, 12:46 PM
danrok's Avatar
AOA Front Page Managing Editor in Chief
 
Join Date: March 2003
Location: Great Britain
Posts: 16,702

Thanks! No wonder I was getting confused.
__________________
AOA Team fah
I am folding with an AMD A64, Intel Atom, nvidia GPU, & PS3 Cell Processor. Join AOA's team today!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


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


All times are GMT -5. The time now is 01:35 AM.


Copyright ©2001 - 2009, AOA Forums

Search Engine Friendly URLs by vBSEO 3.3.0