Public Voice Network
- The word "rad"? 4343
- Video Games... 982982
- Spoonerism of the day 1919
- Grain 1414
- Portfolio | London Bound 88
- Best time to go to Vegas 2727
- the gif animation thread 1878618786
- blog 5784857848
- Pic of the Day 7537275372
- Alien of the Day 8686
- Music Video in 2013 (NSFW… 1111
- Crack Your Back 55
- Kidney surgery? 1616
- Show some recent work 56015601
- Gay thread 136136
- The Million Dollar YouTub… 1616
- Vid of the Day 1528515285
- Ouya 4747
- original trolls 1010
- QBNTPhE 2013 100100
- FMT140613 1313
- Politics 1884318843
- Pitchfork 66
- Palms (Isis/Deftones) alb… 44
CSS Help 88 Responses
Last post: 1 year, 3 months ago | Thread started: Feb 28, 12, 5:46 a.m.
- CygnusZero4
I'm working on an html e-mail newsletter (that I didn't build), and I have some bulleted links in it. The links are dark blue, and they look fine in a browser, but this is going to be e-mailed out and when I test it in Outlook my link colors all default to the internet standard issue medium blue color. I have no idea why. I'm not much of a programmer.
I tried forcing it by adding inline styles, adding the color to the UL/LI CSS, nothing is working.
Here's my bulleted link code.
<ul><li>
<a href="#" >LINK NAME</a>
</li></ul>Here's the <a> tag CSS, which those bulleted links seem to be ignoring when tested to Outlook.
a:link,
a:hover,
a:visited,
a:active {
color:#002776;
text-decoration:underline;
}And the UL/LI CSS.
ul {
margin:0 0 0 12pt;
padding:0;
list-style:inside disc;
font-family:Arial, Helvetica, sans-serif;
font-size:9.5pt;
line-height:12pt;
font-weight:normal;
font-style:normal;
font-color:#002776;
}li {
margin:0 0 2pt 0;
text-indent:-12pt;
font-color:#002776;
}- Feb 28, 12, 5:46 a.m. – Permalink
- CygnusZero4
I work at a very large company. I'm not allowed to just rebuild these templates. There has to be some way to get this working without restructuring the entire thing. I don't have much time to get this done.


- Dog-earFeb 28, 12, 5:50 a.m. – Permalink
- jadrian_uk
no problem with css and newsletter, maybe try declaring the css inline


- Dog-earFeb 28, 12, 5:51 a.m. – Permalink
- CygnusZero4
All my other links are the right blue, except for the bulleted links.

- Dog-earFeb 28, 12, 5:52 a.m. – Permalink
- CygnusZero4
^ Giddy up man, that worked. ul li a!


- Dog-earFeb 28, 12, 5:56 a.m. – Permalink
- Christa
Howdy. You have to do some code inline or it just wont take... Put your style in the link tag. Add a <span> with a color style as well. Once you've asked each link to be the color you want twice! you have a Yahoo specific style to add. a.yshortcuts Before you publish...you can switch all your code inline automatically at http://premailer.dialect.ca AND lots of good info here http://www.campaignmonitor.com/d…


- Dog-earFeb 28, 12, 5:56 a.m. – Permalink
- IRNlun6
Sounds like specificity fixed your problem but you should also remove 'font-color' property from your styles. Its not a valid property, and should just be 'color'.
'color' on the ul and li only applies to non-linked text anyway so it's probably not necessary to use there either, unless you're applying a different color from the body.

- Dog-earFeb 28, 12, 6:17 a.m. – Permalink


