« Safari vs Flash #1 Common GUI design m... »

!important (link colour with FCKeditor & TinyMCE)

Feb 12th, 2006

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!!

#permalink

Share:
Digg! ~ del.icio.us ~ Stumble ~ Furl ~ Reddit
!important .makes .you .happy
Feb 12th, 2006
sole
i testet it in ie and ff on win and this only seems to work in ie
Jul 13th, 2006
anonymous
Webs / Print / Logos... everything I do will be listed here.



If you're looking for my Actionscript experiments, here you have: