1. No Profile Picture
    Devshed Newbie (0 - 499 posts)
    I have used the following style sheet to change the colour of the links on my page as the mouse rolls over them:

    a:hover {color:ff0000}

    However, some links contain images, which are shown with a border of the default link colour.
    How can I change the border colour of the linked images, as the mouse rolls over them?

    Thanking you.

    [This message has been edited by christine (edited 04-29-99).]

    [This message has been edited by christine (edited 04-30-99).]
  2. #2
  3. No Profile Picture
    Devshed Newbie (0 - 499 posts)
    Hi Christine!

    I'm not used to style sheets, but I know how to change the border color of linked images.
    You just have to set the color of your choice with the property link="#AAAAAA" which you can insert in a body tag. I guess you can use it with style sheets. Anyway, if you just don't want it to get on your nerves, you may just insert border="no" in your IMG tag. Then you won't have anymore border.

    Hope it was helpfull

    Souvenirs de France.
  4. #3
  5. No Profile Picture
    Devshed Newbie (0 - 499 posts)
    Try this in your
    A:link {color:#A13A03; text-decoration: none}
    A:visited {color:#A13A03; text-decoration: none}
    A:active {color:#0063A4; text-decoration: none}
    A:hover {color:#003366; text-decoration: underline}

    On your images, the tag should look something like this:

    <img src="image.gif" border="2">

    Hope this helps


Similar Threads

  1. Finding Images in HTML
    By beardo in forum PHP Development
    Replies: 14
    Last Post: March 28th, 2004, 06:29 AM
  2. How Can I put links on an image??
    By donnwar in forum Photoshop Help
    Replies: 9
    Last Post: December 23rd, 2003, 12:12 AM
  3. Javascript: Default image, have it change with links
    By bets in forum JavaScript Development
    Replies: 2
    Last Post: December 14th, 2003, 09:30 PM
  4. Rollover in a big image using the map option in dreamweaver
    By shykrazy in forum HTML Programming
    Replies: 1
    Last Post: September 17th, 2003, 12:01 PM
  5. Javascript image preload race condition
    By lmcccha in forum JavaScript Development
    Replies: 5
    Last Post: February 13th, 2003, 08:21 PM

IMN logo majestic logo threadwatch logo seochat tools logo