Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    Regular Coder
    Join Date
    Oct 2002
    Posts
    147
    Thanks
    31
    Thanked 2 Times in 2 Posts

    how do i add a hover to this <a> tag

    Hi

    heres my problem

    i'm makein a web page that gets pasted into oulook

    and out look only accepts syles for a link if its added in the <a> tag
    like below


    <a href="http://www.house.com" style="color: #3333CC; text-decoration:none; " >

    so how do i add a hover to this <a> tag

    with out haveing the <style type="text/css"></style>
    at the top of the page

    thanks

    andrew

  • #2
    Regular Coder
    Join Date
    Jun 2002
    Location
    NL
    Posts
    421
    Thanks
    0
    Thanked 0 Times in 0 Posts

  • #3
    New Coder
    Join Date
    Aug 2002
    Location
    Pakistan
    Posts
    56
    Thanks
    0
    Thanked 0 Times in 0 Posts
    yes, no way to define inline pseudo-class..
    however, this might help instead:


    <a href="http://www.house.com" style="color:#3333CC;text-decoration:none" onmouseover="this.style.textDecoration='underline'; this.style.color='#000000'" onmouseout="this.style.textDecoration='none'; this.style.color='#3333CC'">Hello</a>
    To steal ideas from one person is plagiarism, to steal ideas from many is research.


  •  

    Posting Permissions

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