Old 08-07-2006   #1 (permalink)
Intermediate User
 
Neil_8_24_93's Avatar
 
Join Date: May 2006
Posts: 96

Send a message via AIM to Neil_8_24_93 Send a message via MSN to Neil_8_24_93
CSS Question.

Well....here is the css code i have for a button.

.button{
font-family: verdana;
font-size: 10px;
height: 18px
width: 100px;
border: #663300 1px solid;

}

Does anyone know what the code is to change the alpha/transparency of the button?
Neil_8_24_93 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old 08-08-2006   #2 (permalink)
Janitor of Lunacy
 
tamlin's Avatar
 
Join Date: May 2006
Location: Sitting in the Wishing Chair
Posts: 5,119

Try:

Code:
filter: alpha(opacity=50);
filter: progid:DXImageTransform.Microsoft.Alpha(opacity=50);
-moz-opacity: .5;
-khtml-opacity: .5;
opacity: .5; /* for future compatibility */
This should make it semi-transparent. An opacity value of 1.0 means fully opaque. A value of 0 means completely invisible.
__________________


Religion: It's all fun and games until someone gets burned at the stake...
tamlin is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old 08-10-2006   #3 (permalink)
Intermediate User
 
Neil_8_24_93's Avatar
 
Join Date: May 2006
Posts: 96

Send a message via AIM to Neil_8_24_93 Send a message via MSN to Neil_8_24_93
Quote:
Originally Posted by tamlin
Try:

Code:
filter: alpha(opacity=50);
filter: progid:DXImageTransform.Microsoft.Alpha(opacity=50);
-moz-opacity: .5;
-khtml-opacity: .5;
opacity: .5; /* for future compatibility */
This should make it semi-transparent. An opacity value of 1.0 means fully opaque. A value of 0 means completely invisible.
Woah what scripting language is that? lol ive never used a code like that in CSS. But ill try it thanks.
Neil_8_24_93 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old 08-10-2006   #4 (permalink)
Recursively call who?
 
GoldNetX's Avatar
 
Join Date: Nov 2003
Location: Pittsburgh, PA
Posts: 294

Send a message via AIM to GoldNetX
The filter attributes are MSIE proprietary attributes, as well as the moz, and html to their respective companies. The opacity attribute I believe is supposed to part of CSS2, maybe 3 though, I am not quite sure.
__________________

www.gusmayo.com
- Maybe a story or two -


www.jaloobie.com
... your new home ...

www.webinkproductions.com
- professional web application design -
GoldNetX is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Closed Thread

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Content Mangament System Question LimitLess HTML / PHP / ASP / JS 3 06-01-2006 12:32 AM
Question regarding Layers cybermule Illustration, Sketching & Vector Art 3 02-09-2006 07:08 PM
New here, forgive the question Xsavior Photography & Photo Manipulation 2 12-30-2005 06:37 PM
Newbie Question c_rogue69 Adobe Photoshop 3 09-18-2004 08:47 AM
PHP Syntax question BlodoPKNZ HTML / PHP / ASP / JS 9 08-08-2004 09:58 PM


All times are GMT +1. The time now is 02:05 AM.
Content Relevant URLs by vBSEO 3.2.0

Design & Content © BioRUST 2008 :: PRIVACY STATEMENT :: LEGAL INFORMATION :: ADVERTISING MEDIA KIT