Am 01.01.2010 um 20:43 schrieb cybervigilante:

> I'm learning jQuery and using it with Joomla, which has huge style
> sheets. Things that worked in my simple HTML training page didn't in
> Joomla, due to CSS conflicts. I realized that although its use is
> discouraged in a style sheet, !important makes things a lot easier if
> I use it in my small jQuery CSS classes. [...]

Right. !important does the trick whenever we struggle with thirdparty CSS.
Nonetheless it shows what bad (inheritance) and unstructured CSS is out there. 
Even in popular CMS Systems like Joomla a.s.o. 

Well-organized CSS does not require to overwrite (and breaking) the inheritance 
chain. 

bye
Olaf

-- 
creatics : Inh. Olaf Gleba
o...@creatics.de : http://creatics.de
PGP-Key http://creatics.de/keys/




Reply via email to