Well im trying to have my links on my page have different effect. The problem is i can't have just 1 master set of a:hover, link, visited lines in the header as i have different links in different colored backgrounds. Was wondering if there was a inline style i could use for links in tables so that i can exclude them from the header set of codes?
hope i've made sence enough here. if not just ask and i will try to elaborate.You could also just do this:
a.name:hover { stuff }
<a href='' class='name'></a>Best way I know is to just have different classes with their own sets of links. Here's an example below from my site (<!-- m --><a class="postlink" href="http://pjrp.unleashed.ws">http://pjrp.unleashed.ws</a><!-- m -->), where I set the link colors for links inside a "title01" div for the navigation toggle and a few other things (<a name=""> tags for navigation for a large page I haven't posted yet).
A {
text-decoration: none;
color: #2A447D;
text-decoration: underline;
}
A:visited {
text-decoration: none;
color: #5572B2;
text-decoration: underline;
}
A:active {
text-decoration: none;
color: #2A447D;
text-decoration: underline;
}
A:hover {
text-decoration: underline;
color: #6E8CCD;
text-decoration: underline;
}
/* Title 01 Links below */
.title01 A {
text-decoration: none;
color: #C5CFE6;
text-decoration: underline;
}
.title01 A:visited {
text-decoration: none;
color: #C5CFE6;
text-decoration: underline;
}
.title01 A:active {
text-decoration: none;
color: #C5CFE6;
text-decoration: underline;
}
.title01 A:hover {
text-decoration: underline;
color: #FFFFFF;
text-decoration: underline;
}
hope i've made sence enough here. if not just ask and i will try to elaborate.You could also just do this:
a.name:hover { stuff }
<a href='' class='name'></a>Best way I know is to just have different classes with their own sets of links. Here's an example below from my site (<!-- m --><a class="postlink" href="http://pjrp.unleashed.ws">http://pjrp.unleashed.ws</a><!-- m -->), where I set the link colors for links inside a "title01" div for the navigation toggle and a few other things (<a name=""> tags for navigation for a large page I haven't posted yet).
A {
text-decoration: none;
color: #2A447D;
text-decoration: underline;
}
A:visited {
text-decoration: none;
color: #5572B2;
text-decoration: underline;
}
A:active {
text-decoration: none;
color: #2A447D;
text-decoration: underline;
}
A:hover {
text-decoration: underline;
color: #6E8CCD;
text-decoration: underline;
}
/* Title 01 Links below */
.title01 A {
text-decoration: none;
color: #C5CFE6;
text-decoration: underline;
}
.title01 A:visited {
text-decoration: none;
color: #C5CFE6;
text-decoration: underline;
}
.title01 A:active {
text-decoration: none;
color: #C5CFE6;
text-decoration: underline;
}
.title01 A:hover {
text-decoration: underline;
color: #FFFFFF;
text-decoration: underline;
}