Results 1 to 2 of 2

Thread: Webdesigning CSS ki problem can anyone solve?

  1. #1
    azhariq's Avatar
    azhariq is offline Senior Member+
    Last Online
    27th December 2017 @ 03:02 PM
    Join Date
    06 Apr 2010
    Age
    35
    Posts
    173
    Threads
    14
    Credits
    109
    Thanked
    8

    Default Webdesigning CSS ki problem can anyone solve?

    Assalamualekum,
    kia hal hain friends

    ek masla hai merey sath wo ye hai key

    Mein ye janna chahta hun key

    jab css coding likhi jati hai jesa ke mein ek image ko hover kerna chahta hun transparent ye code dalker apni index file mein

    /* CSS Document */

    <style>
    img {
    opacity: 0.4;
    filter: alpha(opacity=40); /* For IE8 and earlier */
    }

    img:hover {
    opacity: 1.0;
    filter: alpha(opacity=100); /* For IE8 and earlier */
    }
    </style>


    mager ye effect her picture pe hojata hay ? mein chahta hun sirf jis pe code lagaun wahi rhey
    yar its too much confusion ya mujhey sahi tareeka nahin aaraha hai

  2. #2
    Adnanxyz's Avatar
    Adnanxyz is offline Senior Member+
    Last Online
    29th June 2017 @ 10:04 AM
    Join Date
    28 May 2014
    Age
    38
    Gender
    Male
    Posts
    413
    Threads
    17
    Credits
    214
    Thanked
    27

    Default

    Quote azhariq said: View Post
    Assalamualekum,
    kia hal hain friends

    ek masla hai merey sath wo ye hai key

    Mein ye janna chahta hun key

    jab css coding likhi jati hai jesa ke mein ek image ko hover kerna chahta hun transparent ye code dalker apni index file mein

    /* CSS Document */

    <style>
    img {
    opacity: 0.4;
    filter: alpha(opacity=40); /* For IE8 and earlier */
    }

    img:hover {
    opacity: 1.0;
    filter: alpha(opacity=100); /* For IE8 and earlier */
    }
    </style>


    mager ye effect her picture pe hojata hay ? mein chahta hun sirf jis pe code lagaun wahi rhey
    yar its too much confusion ya mujhey sahi tareeka nahin aaraha hai
    css is very very easy. ye try kro.


    Code:
    /* CSS Document */
    
    <style>
    hover-image.img {
    opacity: 0.4;
    filter: alpha(opacity=40); /* For IE8 and earlier */
    }
    
    hover-image.img:hover {
    opacity: 1.0;
    filter: alpha(opacity=100); /* For IE8 and earlier */
    }
    </style>
    ab jis image pr "hover-image" class lagao ge us pr ye apply ho ga.
    example: <img class="hover-imag" />

Similar Threads

  1. solve my problem
    By tksimkhan in forum Ask an Expert
    Replies: 6
    Last Post: 17th January 2012, 12:39 PM
  2. Replies: 3
    Last Post: 28th January 2011, 08:55 PM
  3. pehlay pori problem to solve hone dain!
    By Ch Danish in forum Ask an Expert
    Replies: 1
    Last Post: 7th August 2010, 05:49 PM
  4. add-on problem ,,,kindly solve
    By Arzu in forum Ask an Expert
    Replies: 3
    Last Post: 14th January 2009, 08:53 AM
  5. Bhi Please Problem Solve Kardoo
    By Tushavi in forum Ask an Expert
    Replies: 6
    Last Post: 3rd December 2008, 08:36 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •