[ZPT] including <span> within <style> tags?

Matthew White mwhite3 at ttsd.k12.or.us
Fri Jul 22 18:17:20 EDT 2005


Hello,

my apologies if ths is a FAQ, but google didn't produce an answer for me.

I get a compliation error when I try this:

<html>
	<head>
		<title tal:content="template/title">The title</title>
	</head>
					
	<style attribute="type text/css">
		<span tal:content="structure container/css_header">
			css header
		</span>
	</style>
[snip....]


What's wrong with having span tags in a style block?

The reason I'm not including <span> tags with css_header is that I want
to use css_header to provide basic look and feel attributes across my
pages and still allow specific pages to have special CSS elements.

-mtw

-- 
Matthew White
District Systems Administrator
Tigard/Tualatin School District
503.431.4128


More information about the ZPT mailing list