Css Problem

Author Message

Tom Denzin

Monday 01 December 2008 3:07:32 am

I have a lot of css styles in my extension folder.The folder is called css

i imported it like

@import url({"css/navmain.css"|ezdesign(no)});
@import url({"css/solic_styles_home.css"|ezdesign(no)});
@import url({"css/solic_styles_partner01.css"|ezdesign(no)});
@import url({"css/solic_styles_area05.css"|ezdesign(no)});
@import url({"css/solic_styles_area05.css"|ezdesign(no)});
@import url({"css/solic_styles_area04.css"|ezdesign(no)});
@import url({"css/solic_styles_area03.css"|ezdesign(no)});
@import url({"css/solic_styles_area02.css"|ezdesign(no)});
@import url({"css/solic_styles_area01.css"|ezdesign(no)});

in my pagelayout.tpl

i also can see that the css are called when i look in firebug.

But the pictures wont display.

I think they get not rendert.
does anybody have an idea??
I use EZ-P 4.01

Arnaud Lafon

Monday 01 December 2008 3:49:19 am

Hi Tom,

you should check the image path. Sometimes you'll need to use an absolute path.
Also check that your virtual host (or your htaccess) is correct. If you have something like url( ../img/picture.jpg ) in your CSS, then you should have in your vhost :

...
Rewriterule ^/extension/[^/]+/design/[^/]+/(flash|stylesheets<b>|img</b>|images|javascripts?)/.* - [L]
...

Looking for information about SQLI ?
Looking for a new job in Paris ?
Please contact me at alafon [at] sqli [dot] com

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.