Website in reference: http://www.imvu-e.com/products/ht/clients/test/
Notice on the tables how I have a newline separating Total and Hours, but it totally makes it look weird when the sort icon is inserted.
Its currently like this:
Total
Hours [v^]
I like to have it like this:
Total
Hours [v^]
Figured the best way would be putting the text in a div and the icon in a div and then have the icon div to be float right maybe?
It would be even more amazing if I could actually get the sorting icon to be vertically aligned as well, but that might be asking for too much :)
ps: I feel like I am a amateur programmer/coder, yet I can never wrap my head around CSS positioning; Maybe its just not worded very well with the floats and such or maybe the tutorials I try to understand just confuse me. Any links to some helpful tutorials would be great. That way I don't have to keep relying on stackoverflow for CSS. I want to learn this stuff, but floating and everything is just very abstract. Don't get me started on why vertical-align isn't similar to text-align, lol.
Edit:
I have it like this now:
| Total |
| [v^] Hours |
But I would like it like this:
| Total |
|[v^] Hours |
Where the icon [v^] would be vertically aligned.