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.
Actually, the test page not validating is my bad! I got lazy and just copied/pasted the comment block a couple of times, and didn't change the IDs, so it is upset that each is defined 3 times!
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.
well, lussumo validates, I cocked up and validated something else on accident and it failed and I thought it was vanilla. So i take that back entirely.
Sure. I was thinking of getting a working install going, and hacking up the code to change it, but haven't due to the short tags issue I posted. I'll probably get it fixed up tomorrow, but at least we have proof of concept.
just grab my html example and dump it into the base area that your vanilla install is located at. clean out my markup and replace with your example. nothing to it :D
No. The problem was that you didn't account for the fact that not everyone has an icon - and those people would then have their name pushed to the right but no icon to the left - which looked wierd.
I just changed your style a little bit.
Have you noticed icons disappearing? That fix is in effect on this site right now, btw.
Comments
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?
Awesome, nicely done. So we have proper sized icons now, what fun!
will we have to wait untill the next version?