rejetto forum

[Done] HFS 3: task: we need to make the expansion button as fixed size

0 Members and 1 Guest are viewing this topic.

Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13510
    • View Profile
Please, first refer to the tasks topic.



If you look at the backend, you'll see some triangles aside folders.
Those are the expansion buttons. I borrowed the idea from Windows7.
The graphic is made through 2 unicode characters. Technically it is text, indeed.
The pro of this is that i don't need to download any extra file for this.
The con is that the width of these 2 characters are not the same (at least on my system, Win7+Chrome).
I need them to have the same size, but I didn't find a way via css.
I tried both the "width" property, and "font-family:monospace".
Who can solve this mistery?
« Last Edit: December 23, 2012, 10:25:58 PM by rejetto »


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13510
    • View Profile
solved.
i just set "display" to "inline-block",
then "width" started to work.