Public Voice Network
- Pic of the Day 7466274662
- the gif animation thread 1842818428
- 80's-90's MEMORIE… 12681268
- e-cigarettes 2828
- Angelina Joile boobs.. 2727
- The Seasteading Institute 55
- Chick of the Day 1824618246
- Your Bike 265265
- Game of Thrones 298298
- SNEAKERS 478478
- what is hand made? 1111
- Kanye video projections i… 1717
- standalone flip through? 44
- Scary Cool Tech Thread 312312
- The Powerball 4141
- News of the day... 656656
- Quote someone 11471147
- Edit facebook event date…
- The Useful Thread 360360
- WANT of the day 14071407
- Vid of the Day 1503515035
- keynote/final cut questio… 11
- What are you listening to… 55735573
- Premier League 2012/13 112112
CSS Help 88 Responses
Last post: 1 year, 2 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


