AAPL stock: $442.14 ( +0.79 ) *Cached every 60 seconds. For live updating, Click Here |
| Tips and Deals ---- 'Friendly' Political Ranting |
| CSS question Posted by: bazookaman
Date: February 01, 2013 07:44AM
|
| Re: CSS question Posted by: ka jowct
Date: February 01, 2013 07:59AM
|
| Re: CSS question Posted by: bazookaman
Date: February 01, 2013 08:02AM
|

| Re: CSS question Posted by: wolfcry911
Date: February 01, 2013 08:04AM
|
| Re: CSS question Posted by: ka jowct
Date: February 01, 2013 08:08AM
|
| Re: CSS question Posted by: bazookaman
Date: February 01, 2013 08:11AM
|

| Re: CSS question Posted by: ka jowct
Date: February 01, 2013 08:17AM
|
| Re: CSS question Posted by: wolfcry911
Date: February 01, 2013 08:18AM
|
| Re: CSS question Posted by: bazookaman
Date: February 01, 2013 08:21AM
|
| Re: CSS question Posted by: bazookaman
Date: February 01, 2013 08:22AM
|
Quote
wolfcry911
for what it's worth both examples should have worked - there must be something else going on.

| Re: CSS question Posted by: M A V I C
Date: February 01, 2013 11:01AM
|
<tr> <td id="footercontentpane" runat="server" class="footercontent"> <div align="center"> <a href="#">Returns</a> </div> </td> </tr>
.footercontent a:link {
color:#FFFFFF;
text-decoration:none;
}<tr> <td id="footercontentpane" runat="server"> <div align="center" > <a href="#" class="footercontent">Returns</a> </div> </td> </tr>
.footercontent {
color:#FFFFFF;
text-decoration:none;
}
.footercontent:hover {
color:#FFFFFF;
text-decoration:none;
}| Re: CSS question Posted by: wolfcry911
Date: February 01, 2013 11:32AM
|
Quote
M A V I C
You shouldn't add a before .footercontent - so just use .footercontent instead of a.footercontent - all adding the a does is make things slower.
| Re: CSS question Posted by: M A V I C
Date: February 01, 2013 12:52PM
|
Quote
wolfcry911
Quote
M A V I C
You shouldn't add a before .footercontent - so just use .footercontent instead of a.footercontent - all adding the a does is make things slower.
Generally this is true. But in this case the anchor, its div parent and its ancestor td all have the same class so it may be necessary to differentiate. It may also be needed for specificity.
| Re: CSS question Posted by: bazookaman
Date: February 01, 2013 12:55PM
|
Quote
M A V I C
Quote
wolfcry911
Quote
M A V I C
You shouldn't add a before .footercontent - so just use .footercontent instead of a.footercontent - all adding the a does is make things slower.
Generally this is true. But in this case the anchor, its div parent and its ancestor td all have the same class so it may be necessary to differentiate. It may also be needed for specificity.
Well, the fact they all have the same class like that is another problem. Solving one problem by creating another isn't a good answer. Hence why in my examples I stripped those classes out.
But you talking about specificity... how much do you know CSS? I know a few web geeks on this board, didn't think you were one of them. You code much?


