Saturday April 24, 2004
Damn CSS filed in Geek
Much as I hate to admit it, for once I am stumped.
Users of Mozilla and similar browsers will observe the green border around the authoricons, indicating that they are hyperlinks to the websites of the post's author*.
However, Internet Explorer seems to be rendering them using the default link colours (blue and purple). I have bashed and bashed and bashed away at the stylesheet, I have tried Google, but all to no avail.
So I throw this open to you. The prize is a free copy of Get To The Next Screen. And if you don't know what that is, then it will be a nice surprise for you.
UPDATE: I should really have defined what the prize was for. I haven't decided yet. If I decide that the prize should go to the first person to give a correct solution, then Adrian will receive it. If I decide that the prize should go to the cleanest solution, then Dave will receive it. In the interests of setting a good example to all programmers out there, I am currently biasing slightly towards the latter. Feel free to attempt to bribe me.
* I am considering altering this at some point, so that each author has their own personal information page within the Uborka domain.

Hope this comes out
.title a:link, .title a:visited
{
text-decoration: none;
color: #green;
}
.title a:active, .title a:hover
{
background-color: red;
color: red;
}
.title a:hover img, .title a:active img
{
border: 5px solid red;
padding: 0px;
}
.title a img
Adrian - Saturday April 24, 2004 11:18{
border: 5px solid green;
}
With rollover code too.
You should be able to eliminate out of that what you don't need or want.
Adrian - Saturday April 24, 2004 11:19Any questions, just ask sevitz.
Adrian - Saturday April 24, 2004 11:21Oh and enable PRE tags on comments.
Adrian - Saturday April 24, 2004 11:22And post links to the source next time.
Adrian - Saturday April 24, 2004 11:22I'll stop making annoying comments now and get off.
Adrian - Saturday April 24, 2004 11:22The first comment was perfect.
The second comment was redundant.
The third comment was helpful, yet implicit.
The fourth comment was cocky.
The fifth comment was unnecessary, as you clearly managed to figure it out for yourself.
The sixth comment I heartily agree with.
King Pete - Saturday April 24, 2004 11:26Easiest way would probably be
a.title img{border:1px solid #006600;}
for active visited and hovers, but I might just be being lazy.
greenhamster - Saturday April 24, 2004 11:28And too darned slow!!!!!
greenhamster - Saturday April 24, 2004 11:29Pete I am using IE and I see the little green border here at home... I'll check from work too but looks like it's working fine for me - of course by now I am sure you have fixed the problem and my comments are useless.. but just thought I would tell ya...
Angel - Saturday April 24, 2004 11:30Ah, now I'm in a dilemma. Do I send the CD to the first correct solution, or do the most concise solution?
King Pete - Saturday April 24, 2004 11:30Thanks for the comment on my first comment.
The comment on my second comment was implicit.
The comment on my third comment need no clarification.
The comment on my fourth comment was accurate, but implied agreement.
The comment on my fifth comment was true, but had the potential to inflate my ego which is dangerous.
The comment on my sixth comment I heartily agree with.
Adrian - Saturday April 24, 2004 11:30Concise ... or lacking depth ...
Adrian - Saturday April 24, 2004 11:32Just because it's simple doesn't make it shallow.
greenhamster - Saturday April 24, 2004 11:35Thank you for the comments on my comments on your comments.
My comment on your fourth comment did not imply agreement, as your comment on my comment on your fourth comment suggests. Though I understand why this additional feature would be useful to you, I am not going to implement it.
Your comment on my comment on your fifth comment is quite surprising to me. I'm sure that you are not the only person with the capability to examine the source code for the HTML to determine the location of the CSS file, and then bring the aforementioned CSS file up in an ASCII or Unicode based text viewer.
Your comment on my comment on your sixth comment I heartily disagree with.
King Pete - Saturday April 24, 2004 11:35It's simple, and it works.
In the interests of code maintainability, greenhamster's code is superior. It does the job efficiently and cleanly without any superfluous verbiage or side-effects.
King Pete - Saturday April 24, 2004 11:36I thank you. I've never been so happy to be simple and lacking in depth.
greenhamster - Saturday April 24, 2004 11:44Dave's code solved your problem.
My code solved your problem and gave you some additional code on the possibility that it would useful to you. I anticipated that you may choose to run hover effects at some point and you would run into the same problems I did.
You should give the prize to Dave, as I did not read the requirements, but glanced over it and gave you the solution I thought you wanted. Any surprise I work as a consultant.
Adrian - Saturday April 24, 2004 12:01I have no code. God, don't I feel stupid.
Vaughan - Saturday April 24, 2004 12:05Stupid? Nah. I'm the one completely confused by the my comment on your comment side of things.
Hanni - Saturday April 24, 2004 16:23Flaming monkeys in my pants!
D - Tuesday April 27, 2004 17:45