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
    New Coder
    Join Date
    Dec 2006
    Location
    Bahrain
    Posts
    96
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Unhappy onmouseover help!!!

    plz look at my code properly:
    Code:
    <img src="x.jpg" onmouseover="border=style='inset'">
    Is it correct?
    ALWAYS remember to validate your code

  • #2
    Senior Coder koyama's Avatar
    Join Date
    Dec 2006
    Location
    Copenhagen, Denmark
    Posts
    1,246
    Thanks
    1
    Thanked 5 Times in 5 Posts
    You probably wanted something like
    Code:
    <img src="x.jpg" onmouseover="this.style.borderStyle='inset'">
    The image probably has border width 0, so there would also have to e.g.
    Code:
    img {
      border: 5px solid red;
    }

  • #3
    New Coder
    Join Date
    Dec 2006
    Location
    Bahrain
    Posts
    96
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Tyvm for reply.::.
    ALWAYS remember to validate your code


  •  

    Posting Permissions

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