The forum of the forums

Would you like to react to this message? Create an account in a few clicks or log in to continue.
The forum of the forums
3 posters

    hover settings

    udarsha45
    udarsha45
    Forumember


    Male Posts : 626
    Reputation : 9
    Language : English
    Location : Sri Lanka

    Solved hover settings

    Post by udarsha45 14/8/2011, 23:09

    how can you add hover effect to a text ?


    Last edited by udarsha45 on 15/8/2011, 14:42; edited 1 time in total
    Nera.
    Nera.
    Energetic


    Female Posts : 7078
    Reputation : 2017
    Language : English
    Location : -

    Solved Re: hover settings

    Post by Nera. 14/8/2011, 23:19

    Hi,

    Depends wich text, can you clirify, with a forum url?
    udarsha45
    udarsha45
    Forumember


    Male Posts : 626
    Reputation : 9
    Language : English
    Location : Sri Lanka

    Solved Re: hover settings

    Post by udarsha45 14/8/2011, 23:25

    Nera.
    Nera.
    Energetic


    Female Posts : 7078
    Reputation : 2017
    Language : English
    Location : -

    Solved Re: hover settings

    Post by Nera. 15/8/2011, 01:08

    This?
    Summary: Ichigo Kurosaki is a teenager gifted with the ability to see spirits. His life is drastically changed by the sudden appearance of a Soul...
    It's on a HTML page?

    Wrap it with a class
    Code:
     <span class="hover">TEXT HERE</span>

    Than add CSS on the page
    Code:
    .hover:hover {
    What ever you wan it to do here
    }
    udarsha45
    udarsha45
    Forumember


    Male Posts : 626
    Reputation : 9
    Language : English
    Location : Sri Lanka

    Solved Re: hover settings

    Post by udarsha45 15/8/2011, 10:10

    ok.. but when your adding the code in the css

    what do you mean by

    What ever you wan it to do here

    what should i type there ?
    Russel
    Russel
    Active Poster


    Male Posts : 1407
    Reputation : 236
    Language : English, Filipino
    Location : Philippines

    Solved Re: hover settings

    Post by Russel 15/8/2011, 13:03

    udarsha45 wrote:ok.. but when your adding the code in the css

    what do you mean by

    What ever you wan it to do here

    what should i type there ?

    Nera means whatever text you want to put.
    udarsha45
    udarsha45
    Forumember


    Male Posts : 626
    Reputation : 9
    Language : English
    Location : Sri Lanka

    Solved Re: hover settings

    Post by udarsha45 15/8/2011, 13:08

    Russel wrote:
    udarsha45 wrote:ok.. but when your adding the code in the css

    what do you mean by

    What ever you wan it to do here

    what should i type there ?

    Nera means whatever text you want to put.

    i tried it but it didn't work Sad
    Nera.
    Nera.
    Energetic


    Female Posts : 7078
    Reputation : 2017
    Language : English
    Location : -

    Solved Re: hover settings

    Post by Nera. 15/8/2011, 14:24

    No.

    Wrap the text on the HTML Page with a class and add the CSS to the HTML Page too.

    In the CSS you don't write text.
    If you want for the letters to become red on hower you will writte this

    Code:
    .hover:hover {
    color: red;
    }
    udarsha45
    udarsha45
    Forumember


    Male Posts : 626
    Reputation : 9
    Language : English
    Location : Sri Lanka

    Solved Re: hover settings

    Post by udarsha45 15/8/2011, 14:41

    working now thanks nera
    Nera.
    Nera.
    Energetic


    Female Posts : 7078
    Reputation : 2017
    Language : English
    Location : -

    Solved Re: hover settings

    Post by Nera. 15/8/2011, 14:43

    Welcome.

    Solved > Locked

      Current date/time is 23/9/2024, 02:14