Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

CSS Forum


You are currently viewing our CSS Forum as a guest. Please register to participate.
Login



Reply
trasparency in broweser
Old 04-15-2010, 08:47 AM trasparency in broweser
Banned

Posts: 8
Location: US
Trades: 0
Hi

I am facing problem to set transparency in firefox and other browsers. Its working in IE only. Tell me the method to set transparency property for all the browsers.
agrajtech11 is offline
Reply With Quote
View Public Profile Visit agrajtech11's homepage!
 
 
Register now for full access!
Old 04-15-2010, 10:19 AM Re: trasparency in broweser
chrishirst's Avatar
Missing! presumed drunk.

Posts: 42,376
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
http://perishablepress.com/press/200...rency-via-css/
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
chrishirst is online now
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 06-29-2010, 08:01 AM transparency in all browsers
Banned

Posts: 8
Location: US
Trades: 0
Tell me how can I set the transparency of an item which work in all browsers?
agrajtech11 is offline
Reply With Quote
View Public Profile Visit agrajtech11's homepage!
 
Old 06-29-2010, 08:03 AM Re: transparency in all browsers
Phunk Rabbit's Avatar
Ultra Talker

Posts: 255
Name: John Nerush
Location: Milton Keynes, UK
Trades: 0
You will need to use Javascript to have it work in IE6, the other mainstream brousers should all support PNG transparency without any thirdparty help.
__________________

Please login or register to view this content. Registration is FREE

Learn professional skills from professional people, from $6.50 a month.
Phunk Rabbit is offline
Reply With Quote
View Public Profile Visit Phunk Rabbit's homepage!
 
Old 06-29-2010, 08:03 AM Re: transparency in all browsers
LadynRed's Avatar
Defies a Status

Posts: 10,017
Location: Tennessee
Trades: 0
Transparent PNG's will now work in all MODERN browsers, but they won't work in IE6 and below. You can use the opacity property, but you'll also have to use -moz-opacity.
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

LadynRed is offline
Reply With Quote
View Public Profile
 
Old 06-29-2010, 09:33 AM Re: trasparency in broweser
vectorialpx's Avatar
Extreme Talker

Posts: 249
Name: octavian
Location: Bucharest
Trades: 0
you can use jQuery

$('#elementID').fadeTo(0, 0.5);

fade to 0.5 in 0 seconds [you can also animate it, if you set more than 0 sec]
__________________
you can
Please login or register to view this content. Registration is FREE
vectorialpx is offline
Reply With Quote
View Public Profile Visit vectorialpx's homepage!
 
Old 07-07-2010, 08:41 PM Re: trasparency in broweser
Resilient's Avatar
Average Talker

Posts: 20
Name: Jaffar Khorshidi
Location: Manchester, UK
Trades: 0
Is it transparency for an image or a certain element on the webpage that you want to adjust?

If it's for an element, the following CSS code should do it for you.

Code:
.transparent_class {
    filter:alpha(opacity=50);
    -moz-opacity:0.5;
    -khtml-opacity: 0.5;
    opacity: 0.5;
}
Hope that helps!

Last edited by Resilient; 07-07-2010 at 08:53 PM.. Reason: Formatted code using correct tags
Resilient is offline
Reply With Quote
View Public Profile Visit Resilient's homepage!
 
Reply     « Reply to trasparency in broweser
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 1.24993 seconds with 12 queries