[dev] IMP 2.3's cascading style sheets

Chuck Hagenbuch chuck@horde.org
Thu, 2 Nov 2000 13:38:35 -0500


Quoting Michael Bull <mbull@uoguelph.ca>:

> I noticed that in my copy of the cvs code, the css.php files requires 
> "./config/horde.php" -- it is working fine, so I assume the reason for this 
> is some sort of PHP hocus-pocus needed for when the horde html.php isn't 
> already included?

It needs the $horde['css']['cached'] property.

> $css['.menu']['background-image'] = 'http://path.to/mygif.gif';

Looks like the correct syntax for this would be:
$css['.menu']['background-image'] = 'url(http://path.to/mygif.gif)';

That works for me.

(note that it's purely the syntax of the css command that was off)

-chuck

--
It takes 170 decibels to rupture the human eardrum.
Less, if Celine Dion is singing.