Forum Moderators: not2easy

Message Too Old, No Replies

Help with Classes

         

wellgahlee

3:54 pm on Jun 29, 2006 (gmt 0)

10+ Year Member



I'm trying to style a blog, and while I have a little CSS experience, I have forgotten a lot of what I learned in the past few months.

The blog is powered by blosxom, so it's not provided by a third party that allows for easy customization.

Anyway, I am trying to style some links:

relevant css:

.perm a {
color: #AC162F;
font-family: tahoma, verdana, sans-serif;
font-size: 8pt;
text-decoration: none;
}

relevant html:
<div class="mainfeature">

<a name="$fn">$title</a>
<br />
<p>$body
</p>
<p align="left">

<p align="right">
<i>[<a class="perm" href="$url$path">$path</a>]
<a href="$url$path/index.$flavour#$fn"> link</a></i>
</p>
</div>

I figure I am calling the class incorrectly, but I can't figure out what I am doing wrong.

thanks

wellgahlee

4:44 pm on Jun 29, 2006 (gmt 0)

10+ Year Member



I figured it out...

a.perm {

instead of

.perm a {

thanks