Jump to content

Span Style


gameboyz
 Share

Recommended Posts

code for what? css or span?
Both, with a link as best.In general, rules are applied on a selective basis - that is, they are applied to selectors bases on specificity. If you have a general rule on a "p" for example, it applies to all of them. But if you have an additional rule such as "#myDiv p" then that one would apply in that specific instance and not the original "p" rule (if they are in conflict).
Link to comment
Share on other sites

sorry for the late reply. css:

#ads a:link,#ads a:visited,#ads a:active,#ads a:hover {text-align:center;text-decoration:underline;font-weight:normal;font-size:13px;font-family:tahoma;}

span:

<a href="http://forums.vr-zone.com/showthread.php?p=6309435"><span style="font-weight:bold; color:#d72e2e; text-decoration:none;">Looking for web hosting? :D</span></a>

Link to comment
Share on other sites

sorry for the late reply. css:
#ads a:link,#ads a:visited,#ads a:active,#ads a:hover {text-align:center;text-decoration:underline;font-weight:normal;font-size:13px;font-family:tahoma;}

span:

<a href="http://forums.vr-zone.com/showthread.php?p=6309435"><span style="font-weight:bold; color:#d72e2e; text-decoration:none;">Looking for web hosting? :D</span></a>

hover should be before active (LoVe HA - Link, Visited, Hover, Active)I'm pretty sure Tahoma has to be capitalized (font family must match what the computer has)Other than that, it's hard to take the snippets out of context and diagnose for problems.
Link to comment
Share on other sites

hover should be before active (LoVe HA - Link, Visited, Hover, Active)I'm pretty sure Tahoma has to be capitalized (font family must match what the computer has)Other than that, it's hard to take the snippets out of context and diagnose for problems.
anybody else can help? :)
Link to comment
Share on other sites

This article clearly explains that it can't be done. I'm not satisfied that I understand why, but at least now you know that giving up is the right thing to do:https://developer.mozilla.org/En/Understanding_UnderlinesFWIW, I Googled "css link span underline" ; this article was the 5th result. I looked at it first because Mozilla has good documentation.

Link to comment
Share on other sites

This article clearly explains that it can't be done. I'm not satisfied that I understand why, but at least now you know that giving up is the right thing to do:https://developer.mozilla.org/En/Understanding_UnderlinesFWIW, I Googled "css link span underline" ; this article was the 5th result. I looked at it first because Mozilla has good documentation.
don mean to boast but im not the type who gives up easily. i worked on this 2 times, each resulting in failure. fortunately i didnt work on it everytime i used firefox :X
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...