Hi there!
I just noticed that icons that are smaller than 32x32 are also resized.. Same with account picture..
Those should only be resized if they are larger than the maximum allowed size.. Otherwise I need to edit the pictures before using them and make smaller images larger to avoid the bad quality after Vanilla resized them :(
Comments
<div class="CommentIcon">
<a href="#">
<img src="link/to/icon.gif" height="32" width="32" alt="" border="0" />
</a>
</div>
This deals with smaller icons (MrNase), the right size (lech), and oversized (Google). And when you disable CSS, you just don't see the icons.
The source is fairly self-explanatory. A couple of bits of the HTML are changed. and a couple of bits of CSS too. Most of the CSS in the test case is to make it look the default!
Thoughts?
edit: I have tested with FF and IE6, but not IE5 which is usually the problem child. It would probably just be a case of fixing up the box model, but would need testing.
Underscores as well as dashes are fine for both IDs and classes.
I've fixed the test page now, must take more care in future.
I like to just <del></del> what I wrote, so that you can still follow the flow.
Also, did this solution have anything to do with all the icons mysteriously disappearing?