## about mousseover in hyperlink ##

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • M.Senthil Kumar

    #1

    ## about mousseover in hyperlink ##

    I'm newbe to web.
    I designed a web page using HTML.I also studying javascript.
    I want to increase my link text and change my link color when i mouse
    over it.
    I tried with the below code . It is not working
    <a href="somefile. htm" style="text-decoration:none "
    OnMouseOver="ja vascript:this.s tyle.color='#00 3300';this.styl e.text-size='10'
    OnMouseOut="thi s.style.color=' #990099'"><b>So me text</b></a>

    Please help me
  • Knud Gert Ellentoft

    #2
    Re: ## about mousseover in hyperlink ##

    mskumar_2k1@red iffmail.com (M.Senthil Kumar) skrev :
    [color=blue]
    >I tried with the below code . It is not working
    ><a href="somefile. htm" style="text-decoration:none "
    >OnMouseOver="j avascript:this. style.color='#0 03300';this.sty le.text-size='10'
    > OnMouseOut="thi s.style.color=' #990099'"><b>So me text</b></a>[/color]

    <a href="somefile. htm" style="text-decoration:none "
    OnMouseOver="th is.style.color= '#003300';this. style.fontSize= '10px';"
    OnMouseOut="thi s.style.color=' #990099';"><b>S ome text</b></a>
    --
    Knud

    med en smule indhold - mere kommer

    Comment

    • Andrew Thompson

      #3
      Re: ## about mousseover in hyperlink ##

      On 21 May 2004 05:45:40 -0700, M.Senthil Kumar wrote:
      [color=blue]
      > I want to increase my link text and change my link color when i mouse
      > over it.[/color]

      Something like this should do it..

      <html>
      <head>
      ....
      <style type="text/css">
      a:active, a:hover {
      background-color: #ff0;
      color: #f00;
      font-size: 110%;
      }
      </style>
      </head>
      ....

      HTH

      --
      Andrew Thompson
      http://www.PhySci.org/ Open-source software suite
      http://www.PhySci.org/codes/ Web & IT Help
      http://www.1point1C.org/ Science & Technology

      Comment

      • G Roydor

        #4
        Re: ## about mousseover in hyperlink ##

        utilisez les feuilles de styles CSS !

        GR

        M.Senthil Kumar a écrit:[color=blue]
        > I'm newbe to web.
        > I designed a web page using HTML.I also studying javascript.
        > I want to increase my link text and change my link color when i mouse
        > over it.
        > I tried with the below code . It is not working
        > <a href="somefile. htm" style="text-decoration:none "
        > OnMouseOver="ja vascript:this.s tyle.color='#00 3300';this.styl e.text-size='10'
        > OnMouseOut="thi s.style.color=' #990099'"><b>So me text</b></a>
        >
        > Please help me[/color]

        Comment

        Working...