here is an excerpt.
$def with (dates,months)
<html>
<head>
    <title>
        some title
    </title>
    <link rel="stylesheet" type="text/css" href="templates/
frontpage.css">
</head>
<center>
<body>

and frontpage.css is

body {
        color: white;
        background-color: black;
        font-family: "arial";
        }

a:link {
        color: white;
        }


where templates is the directory the templator html is in. i also
tried just "frontpage.css" for href too with no luck. thanks for your
help.

On Sep 7, 3:19 pm, Malinka Rellikwodahs <[email protected]> wrote:
> mimetype, typically templator will return text/plain or text/html, I
> beleive css won't work correctly unless it is text/css, so you need to
> set the content-type header
>
>
>
> On Mon, Sep 7, 2009 at 11:47, kct<[email protected]> wrote:
>
> > I have trouble using the external css stylesheet (the same stylesheet
> > works when directly put into the html file) with templator. Is there
> > anything that i need to be aware of when using templator and external
> > css stylesheet?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web.py" 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/webpy?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to