5 May 19:54
Style Sheet difficulties
I have been experimenting with petal templates and perl. I am having no luck
incorporating style sheets. I copied a style sheet that I use with a
python-tal application. It should be as simple as referencing the file with a
STYLE tag, then using the classes in the html pages. I cannot get it to work!
I admit I am a rank rookie with respect to style sheets. I suspect that
rookieness really is the source of the problem. Still I would appreciate any
help that can be offered.
Here is the snippet of code that references the style sheet file:
<html>
<head>
<meta http-equiv="Content-Style-Type" content="text/css"></meta>
<style type="text/css">
<!--
@import url(style.css);
-->
</style>
</head>
<body petal:content="bar">Dummy Content</body>
Here are the first few lines of css code from style.css:
td.page-header-left {
padding: 5px;
border-bottom: 1px solid #444444;
}
And here are the error messages in the apache log:
[Thu May 5 11:22:02 2005] [error] [client 172.31.36.67] Bareword found where
(Continue reading)
RSS Feed