dimanche 8 septembre 2013

Apex and CSS


I am working with Oracle / Apex and I had the css using images on a different server. As these links were http and we had to work on https, IE 8 didn't stop to display security message (https security compromised by http calls), so we had to fix the css...

but how? the images should become local in the workspace images but how to reference them?

Unfortunately it doesn't work because Apex doesn't make the substitution, but then are we .... stuck?

I thought that it wouldn't be possible to do anything but I found CSSEMBED

the jar file can be found in the link above but I repeat it:
wonderful, just had to execute this command:
java -jar cssembed-x.y.z.jar -o output_filename.css input_filename.css
and my css has now the images inlined. just wonderful.

Thanks Nicholas C. Zakas for this great product.

Happy coding.

Aucun commentaire:

Enregistrer un commentaire