On Sun, 2010-11-21 at 21:40 +0530, Rohan M wrote:
> 2) I'm using relative path in the CSS -
>     e.g background : url("../static/images/header.gif")
> 
>    Now when I try to go to a page something like /person/edit/1 .. I
> loose the CSS because of the relative path.
>     i) Is there a way to define a absolute path ?
>     ii) Can we give Document_root kind of path to achieve this?

Not sure if you're not doing it this way for a reason, but personally I
always use paths relative to the document root in my CSS - like so:
background: url('/static/images/header.gif')

Regards,
Denny

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
List: Catalyst@lists.scsys.co.uk
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
Dev site: http://dev.catalyst.perl.org/

Reply via email to