redho home | products | services

Programming Forums


Community for Java, PHP, Perl C, ASP and Python programmers
Friday 03 September 2010 04:37

Ask your IT question here

opacity in CSS



 
Post new topic   Reply to topic    Programming Forums -> CSS forum
View previous topic :: View next topic  
Author Message
Guest
Guest Programmer




Is it possible in CSS to use opacity of an img?
Reply with quote
 
musician
Enthusiastic Coder


Joined: 09 Feb 2009
Posts: 27
That code is doing an image 40% transparent
Code:
<html>
<head>
<style>
img
{
opacity:0.4;
filter:alpha(opacity=40)
}
</style>
</head>
<body>

<img>

</body>
</html>

Reply with quote
 
krisov
Enthusiastic Coder


Joined: 18 Jan 2010
Posts: 55
Location: London
Thank you for sharing.
Reply with quote
 
Page 1 of 1
Post new topic   Reply to topic    Programming Forums -> CSS forum


Dubai Forums - Expat Help | Vegan Forum | Java Programming | 3d Design Resources | 3d Forum | 3D Jobs | 3D Textures | Paris Forum | Europe Forum
Dubai Classifieds | Dubai Property | Jobs in Dubai | Free London Classifieds | Jobs in London UK

High Quality, Custom 3d animation and Web Design solutions Royal Quality Web Hosting Services Vegetarian and Animal Rights news

Based on phpBB © 2001-2010 RedHo