+ Reply to Thread
Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Creating a Transparent Image

This is a discussion on Creating a Transparent Image within the Web Design forums, part of the Web Designing & Development category; To create transparent image you can use that code.. Code: <img src="klematis.jpg" width="150" height="113" alt="klematis" style="opacity:0.4;filter:alpha(opacity=40)" /> Firefox uses the ...

Share/Bookmark
  1. #1
    Senior Member Array akash's Avatar
    Join Date
    Oct 2008
    Location
    Heaven (Earth)
    Posts
    500

    Default Creating a Transparent Image

    To create transparent image you can use that code..

    Code:
    <img src="klematis.jpg" width="150" height="113" alt="klematis"
    style="opacity:0.4;filter:alpha(opacity=40)" />
    Firefox uses the property opacity:x for transparency, while IE uses filter:alpha(opacity=x).

  2. #2
    Senior Member Array msn90's Avatar
    Join Date
    May 2009
    Location
    india
    Posts
    146

    Thumbs up Re: Creating a Transparent Image

    Quote Originally Posted by akash View Post
    To create transparent image you can use that code..

    Code:
    <img src="klematis.jpg" width="150" height="113" alt="klematis"
    style="opacity:0.4;filter:alpha(opacity=40)" />
    Firefox uses the property opacity:x for transparency, while IE uses filter:alpha(opacity=x).
    Thanks akash for sharing this.

  3. #3
    Junior Member Array
    Join Date
    Jul 2009
    Posts
    18

    Default Re: Creating a Transparent Image

    we are using this code for our sites. Cheers!
    [COLOR="Blue"]In2net Network Inc.[/color] ( www.in2net.com ) : Providing Service Since 1996!
    Quick Sales Response - [color=black]info@in2net.com[/color]
    [COLOR="Blue"]Virtual Private Servers : VPS Hosting[/COLOR] - Ask us about our Managed Hosting services, too!
    30-Day MoneyBack Guarantee

  4. #4
    Junior Member Array
    Join Date
    Aug 2009
    Posts
    9

    Default Re: Creating a Transparent Image

    Ruminator is correct.I use the following code to add a drop shadow to all the input boxes on my site:

    .boxshadow
    {
    border:1px inset #000;
    background-position: left top;
    background-image: url("input-box-shadow.gif");
    background-repeat: no-repeat
    }
    <INPUT SIZE="15" NAME="mybox" class="boxshadow">
    The "input-box-shadow.gif" file is a transparent gif file...

  5. #5
    Senior Member Array AirForce1's Avatar
    Join Date
    Jun 2009
    Location
    ShoesBuyOnline.com
    Posts
    809

    Default Re: Creating a Transparent Image

    Thanks for akash's post. The inline style make compatible between 2 worlds: IE AND FIREFOX.

    Really nice,

  6. #6
    Senior Member Array
    Join Date
    Sep 2009
    Posts
    119

    Default Re: Creating a Transparent Image

    I am new to the webdesign thing, can I ask what is the use of Transparent Image??

  7. #7
    Junior Member Array
    Join Date
    Aug 2010
    Posts
    4

    Default Re: Creating a Transparent Image

    Great job. Thanks for the code it works perfectly.

  8. #8
    Junior Member Array I4Visual's Avatar
    Join Date
    Aug 2010
    Posts
    25

    Default Re: Creating a Transparent Image

    thanks for sharing the codes guys, they always come in handy if one is forgotten/lost
    I4 Visual Media Ltd. - Website Designers

  9. #9
    Member Array
    Join Date
    Sep 2010
    Posts
    50

    Default Re: Creating a Transparent Image

    Nicely done. Transparent image map is used for beautification, eg, transparent drop-down menu, etc.

  10. #10
    Member Array
    Join Date
    Aug 2010
    Posts
    72

    Default Re: Creating a Transparent Image

    I have tried it ,but it don't works.....



+ Reply to Thread
Page 1 of 2 12 LastLast

Similar Threads

  1. What hosting site (or website) is best for creating a blog?
    By GoddessofCoughSyrup in forum Web Hosting
    Replies: 3
    Last Post: 06-14-2011, 12:53 PM
  2. Replies: 5
    Last Post: 04-20-2011, 10:34 AM
  3. Replies: 7
    Last Post: 09-14-2009, 09:28 AM
  4. Replies: 2
    Last Post: 06-01-2009, 07:32 PM
  5. make transparent scrollbar
    By akash in forum Web Design
    Replies: 0
    Last Post: 03-26-2009, 08:23 AM
SEO Forum | Web Hosting Forum | Websites For Sale |