i am trying to change the style of the text in the news module... i went into the template page and changed the class name so it would use the class from another css stylesheet...
when the module builds the page, it generates this code...
IT'S THE 10TH ANNIVERSARY OF SQUIRREL DAY USA!
now, the class "textlinks" will not apply to the link for some reason... if i could get it to write the code like this... it would work.
IT'S THE 10TH ANNIVERSARY OF SQUIRREL DAY USA!
why won't the class in the div apply to the link in the former code... shouldn't it?
odd code question/problem
-
- Power Poster
- Posts: 424
- Joined: Sat Feb 02, 2008 12:42 am
Re: odd code question/problem
Depends what your css looks like.
If you want to use
then your css should look something like:
.textlinks a {
styles
}
If you want to use
then your css should look something like:
.textlinks a {
styles
}
Take a penny, leave a penny.
Re: odd code question/problem
i'm using this...
a.textlinks {
font-family: Arial, Helvetica, sans-serif;
font-size: small;
color: #000000;
}
a.textlinks:visited {
color: #666666;
}
a.textlinks:hover {
color: #666666;
}
a.textlinks:active {
color: #000000;
}
like this?
.textlinks a {
font-family: Arial, Helvetica, sans-serif;
font-size: small;
color: #000000;
}
.textlinks a:visited {
color: #666666;
}
.textlinks a:hover {
color: #666666;
}
.textlinks a:active {
color: #000000;
}
a.textlinks {
font-family: Arial, Helvetica, sans-serif;
font-size: small;
color: #000000;
}
a.textlinks:visited {
color: #666666;
}
a.textlinks:hover {
color: #666666;
}
a.textlinks:active {
color: #000000;
}
like this?
.textlinks a {
font-family: Arial, Helvetica, sans-serif;
font-size: small;
color: #000000;
}
.textlinks a:visited {
color: #666666;
}
.textlinks a:hover {
color: #666666;
}
.textlinks a:active {
color: #000000;
}
Last edited by neterhet on Mon Nov 03, 2008 3:31 pm, edited 1 time in total.