>> Also, are you using `url('/css/style.css')`?
>>
>> <link rel="stylesheet" type="text/css"
>> href="${url('/stylesheets/base.css')}" />
>>
>> This will ensure your links work in all cases, whether you're running
>> your app at a prefix or not.
That's exactly what I was looking for. Thanks!
Edgar
On Mar 24, 3:48 pm, Wyatt Baldwin <[email protected]> wrote:
> On Mar 24, 12:15 pm, Piotr Kęplicz <[email protected]> wrote:
>
> > edgarsmolow:
>
> > > CSS is used with URL:
> > >http://localhost/logic/q01
>
> > > The page is rendered as expected, with CSS. But, when the following
> > > URL is invoked, the page is not rendered with CSS for some reason:
>
> > >http://localhost/logic/q01/ABCDADF84093840384
>
> > You haven't showed the most important - CSS URL in your template. Most
> > probably it's relative (../css/stylesheet.css) instead of absolute
> > (/css/stylesheet.css).
>
> Also, are you using `url('/css/style.css')`?
>
> <link rel="stylesheet" type="text/css" href="${url('/stylesheets/
> base.css')}" />
>
> This will ensure your links work in all cases, whether you're running
> your app at a prefix or not.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"pylons-discuss" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/pylons-discuss?hl=en
-~----------~----~----~----~------~----~------~--~---