?

Log in

No account? Create an account

Previous Entry | Next Entry

I (finally) determined that asset-name a is the subject line of my blog. Anyway, I'd like it to be underlined by default. (Actually, I want all my links to underline by default, but that's another story.)

As you can see in my CSS, I've tried to do this. Part of the time it works, and part of the time it doesn't -- I've no clue why. (I also have it set up to change background-color when hovered, but again, that's another story.)

I'm not sure what I'm missing, but all help is again greatly appreciated!



(I can put this code behind a cut if people prefer...)

Thanks!

Comments

( 6 comments — Leave a comment )
av8rmike
Oct. 13th, 2008 10:52 am (UTC)
I'm not sure what I'm missing

The extra comma after the last specifier in these groups:
/* keep link underlining on hover */
body a:hover,
.asset-name a,
.asset-name a:link,
{ text-decoration: underline; }

/* this changes the links for edit entry etc. */
.asset-tags-list,
.asset-tags-add-tags:link,
.asset-meta,
.asset-meta-list,
.asset-meta-list a,
{ color: #ffffff; }
jack_cowboy
Oct. 13th, 2008 09:19 pm (UTC)
Oops, trailing commas! My bad.

I fixed that, but now I don't have the Subject underlined at all, even part of the time. I just can't figure this one out...

Thoughts?

Thanks for your help, by the way!
av8rmike
Oct. 13th, 2008 09:38 pm (UTC)
Looks like you added an extra space where you didn't need one, but you have some superfluous code in there, too. This should cover it all:
a,
a:hover,
.asset-name a,
.asset-name a:link
{ text-decoration: underline; }
jack_cowboy
Oct. 14th, 2008 03:09 am (UTC)
Thanks!

That's perfect. Workin' like a charm, now.
jack_cowboy
Oct. 15th, 2008 06:24 am (UTC)
Actually, in my Friends View it's only working some of the time (???). I can't seem to get it working...
av8rmike
Oct. 15th, 2008 03:13 pm (UTC)
Oh, right, the underline was being removed from visited links as well.
a,a:hover,
.asset-name a,
.asset-name a:link,
.asset-name a:visited
{ text-decoration: underline; }
( 6 comments — Leave a comment )

Latest Month

March 2016
S M T W T F S
  12345
6789101112
13141516171819
20212223242526
2728293031  

S2 Help Communities

Tags

Powered by LiveJournal.com
Designed by chasethestars