I created rich text editor, and it was working fine, until I tried to apply some colors. With firefox and opera it works purfect, but with IE7 it doesn't do anything. So I was trying to find a bug, and found that, when I open color picker, text deselects and the efect doesn't apply. Then, I put a simple button, witch changes text color to blue, and it was working. So how can I display color picker without deselecting text? I use (display:none) :(