Discussion Board

Results 1 to 7 of 7
  1. #1
    Registered User
    Join Date
    Nov 2003
    Posts
    9

    change default style in link

    I'm programming in XHTML using a nokia brower NMB 4.0

    Links have the default blue color and yellow if I select them...

    I need to change their colours, I succeed in change the colour to green using WCSS (style sheet) but I would also change the color of link when they are selected (not the opposite color, in this case pink, but another one)

    How can I do??


    Many thanks...

  2. #2
    Regular Contributor
    Join Date
    Mar 2003
    Location
    Indonesia - East Java
    Posts
    128

    Solustion

    Hi,
    May be you can try this
    a:hover { color: #FFFFFF; } (when mouse over link)
    a:visited { color: #FFFFFF; } (when user have done visited this link)
    a:active { color: #FFFFFF; } (when link is not still click by user)

    I hope that can help you, and you can change that color as you would to try to change.

  3. #3
    Registered User
    Join Date
    Nov 2003
    Posts
    9

    thank you...

    for your kind reply...
    But I tried this solution and doesn't work...

    If I put

    a:hover { color: #35734C }
    a:visited { color: #35734C }
    a:active { color: #35734C }

    in my WCSS nothing changes... I still see blue link... I don't think that this browser can understand this sintax...

    The only thing that works right now if a class like that:

    .link {font-size:11;
    color:#35734C}
    and change only the color of link from blue to green, but nothing else...

  4. #4
    Regular Contributor
    Join Date
    Mar 2003
    Location
    Indonesia - East Java
    Posts
    128

    Answer

    Dear,
    you can add this
    a:link { color: #FFFFFF; }
    I hope it can help you

  5. #5
    Registered User
    Join Date
    Nov 2003
    Posts
    9

    yes...

    thank you, but I don't think that this class could change the color of my link when is selected...
    It will change the standard color, but when I select it I'll have the opposite color... not what I would like...

  6. #6
    Regular Contributor
    Join Date
    Mar 2003
    Location
    Indonesia - East Java
    Posts
    128

    Hi

    Dear,
    If that i know for change link if that is not yet can make sure you can also try this, i hope it can help you
    .link1 a:hover { color: #FFFFFF; }
    .link1 a:visited { color: #FFFFFF; }
    .link1 a:active { color: #FFFFFF; }
    .link1 a:link { color: #FFFFFF; }
    and used this at link<a href="" class="link1">....</a>
    I hope it can help U.

  7. #7
    Registered User
    Join Date
    Nov 2003
    Posts
    9

    I'm sorry...

    but it seems that NBM 4.0 browser can't understand your advice...
    It doesn't work...

    Thank you again... you r very kind.

Posting Permissions

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