*blog... kind of... *rss 



!important (link colour with FCKeditor & TinyMCE)
After spending half of the day trying to understand all the code of FCKeditor, modifying it a lot, doing thousands of tests (in order to change the color of the links in the editor) I decided to stop using it and trying with TinyMCE. The funny thing was that reading the editor_content.css file I found out this part:

/* Important is needed in Gecko browsers inorder to style links */
a { color: green !important; }

So if you have the same problem, just add a new style for the <a> tag in the file fck_editorarea.css with the !important thing in the end.

More about the !important rule here

ARFF!!
2 comments

!important .makes .you .happy
i testet it in ie and ff on win and this only seems to work in ie