Basic css Question

18 views
Skip to first unread message

Warren Michelsen

unread,
Aug 4, 2009, 8:50:13 PM8/4/09
to Web Authoring List

I have:

span.popquote {
color: #B31B00;
text-decoration: overline;
}


And on the page I have:

The <span class="popquote"> <a href="javascript:void(0);" onmouseover="return overlib('pop-up text goes here.', MOUSEOFF, CENTER);" onmouseout="return nd();">Link Text</a></span>

Now, I don't want the popquote to take on the appearance of a link. But the "a href=" within the span causes it.

What's the proper selector (instead of span.popquote ) to ensure that the text within the 'popquote' span does not look like a link and only has the overline?

Jonathan Lundell

unread,
Aug 4, 2009, 8:55:54 PM8/4/09
to web-au...@googlegroups.com

Why not just assign a class to the link?

Mickey

unread,
Aug 4, 2009, 9:25:59 PM8/4/09
to web-au...@googlegroups.com
At 5:55 PM -0700 8/4/09, Jonathan Lundell sent email regarding Re:
Basic css Question:

See? I told you it was basic. ;-)


--
'Login' is not a verb!
<http://www.otfb.com/blog/?p=907>

Reply all
Reply to author
Forward
0 new messages