Greetings and thank you in advance for any help.
I have text in an email that I want to keep the same color as it is now but make it a hyperlink to a website. I did some research and found a thing called CSS Pseudo Classes. It’s generic, of course, but since I’m teaching myself and I have something very particular I’m having issues. Well, “Issues” seem to be my middle name lately with teaching myself email development. Anywho, this is the code via w3schools.com
:
<!DOCTYPE html>
<html>
<head>
<style>
/* unvisited link */
a:link {
color: red;
}
/* visited link */
a:visited {
color: green;
}
/* mouse over link */
a:hover {
color: hotpink;
}
/* selected link */
a:active {
color: blue;
}
</style>
</head>
<body>
<p><b><a href="default.asp" target="_blank">This is a link</a></b></p>
<p><b>Note:</b> a:hover MUST come after a:link and a:visited in the CSS definition in order to be effective.</p>
<p><b>Note:</b> a:active MUST come after a:hover in the CSS definition in order to be effective.</p>
</body>
</html>
Now my CSS code starts like this: (I used a template thinking it would be easier to teach myself, but I get into specifics of design and shoot, the template doesn’t seem so easy now)
<style type="text/css">
body {
margin: 0;
}
After several defined styles, such as:
body, table, td, p, a, li, blockquote {......
table {.....
.footer {...
I get to the end of the defined styles with this:
a:visited {
color: #565555;
}
a:hover {
color: #F78413;
}
a:active {
color: #F78413;
}
a:link {
color: #565555;
}
Now, I’m ok, with this. BUT, at the very top of the email, I have a table. And within that table are 2 rows of text. One is a title (name of the conference), and the second line below it are the dates of the conference. The table background color is purple, and both lines of text are white. I would like to have the reader be able to click on the title and it goes to the website where the information about the conference is at. I want the title (in white), to stay white whether it’s “visited”, “hover”, or “active.” So, that’s what I’m looking for and whether that code goes at the very end of the CSS styles, right after the current hyperlink styles, or does it need to be placed somewhere else? It’s like I need alternate code or style to apply to just certain places. I’m having that same issue with email address text within the footer of the email.
Apologies if this entirely too long but I wanted to give as much as information as possible. Thanks all.
-Lisa