SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Member
    Join Date
    Apr 2010
    Posts
    4
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Visited link color in Outlook 2007?

    Hello,

    I'm having one of those mornings, and hopefully someone can help!

    I have created an HTML email, and using embedded CSS have set the link color and visited link color for some links. However, the visited link color does not seem to be obeyed by Outlook 2007 and it's driving me mad!

    I have this in the embedded CSS:

    Code:
    .white a:link {
    	color: white;
    }
    .white a:visited {
    	color: white;
    }
    Then just set a class on the link like so:

    Code:
    <a href="http://www.foo.com" class="white">Foo</a>
    I've had no luck searching online for a solution, so hopefully someone here may know.

    Thanks

  2. #2
    The CSS Clinic is open silver trophybronze trophy
    Paul O'B's Avatar
    Join Date
    Jan 2003
    Location
    Hampshire UK
    Posts
    40,516
    Mentioned
    182 Post(s)
    Tagged
    6 Thread(s)
    Hi,

    I don't know if outlook 2007 supports the visited link pseudo class:
    http://www.campaignmonitor.com/css/

    The css above is not correct for that snippet anyway and should be like this.

    Code:
    a.white:link {
    	color: white;
    }
    a.white:visited {
    	color: white;
    }

  3. #3
    SitePoint Member
    Join Date
    Apr 2010
    Posts
    4
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Yeah I checked that page, but they didn't menton the visited link attribute at all so was none the wiser. Argh Outlook can be so frustrating!

    Thanks for the clarification on the CSS. I'm rusty, and my new job is bringing web design back into my role so need to... un rust.


Bookmarks

Posting Permissions

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