problem with links on CSS and IE

Ask a Question related to Macromedia Dynamic HTML, Design and Development.

  1. #1

    Default problem with links on CSS and IE

    Hi

    i styled the links of my webpage like this:


    a:link {
    color: #663333;
    }
    a:visited {
    color: #663333;
    }
    a:hover {
    color: #F4EFC9;
    }
    a:active {
    color: #663333;

    }


    when i preview it on Firefox, when i roll over the mouse on some images the
    borders change as they should, but when i use IE nothing happens, the borders
    just stay purple!

    how can i make it do what i want it to do?

    Thanks

    mfv84 Guest

  2. Similar Questions and Discussions

    1. Hyperlink problem - many links, but same URL
      I'm having a problem doing something that seems very simple. I'm using InDesign CS2. I am trying to create a PDF document, built in InDesign and...
    2. :Mechanize ->links() problem
      > Question: It is an array reference not an array. Try this: for(@{$agent->links()}) { print "-$_-\n"; } or my @LINKS =...
    3. WWW::Mechanize ->links() problem
      Question: I'm trying to use the links(); function which in the man page says "returns a list of the links found in the last fetched page. "...
    4. Problem with links?
      I had a site more or less made using a template and a series of links to my different html files. Everything always worked perfectly, the links were...
    5. problem with different css styles with different a:links in one doc.
      I use two different css style sheets in one document. Each with different a:link, a:hover, etc. values. But when I apply different styles from the...
  3. #2

    Default Re: problem with links on CSS and IE

    IE has a problem with inheriting CSS styles when the <img> tag is nested within
    an <a> tag. Basically, you just need to define the default style of the <img>
    tag to be the same as the normal style of the <a> tag, then define the hover
    state for the image. Adding the following two rules should do it:

    a img { border-color: #663333; }
    a:hover img { border-color: #F4EFC9; }

    For a more complete description, check this site out:
    [url]http://rob.rnovak.net/content/archives/Individual/000039.php[/url]

    rilkesf Guest

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139