Re: including <span> within <style> tags?
David Pratt <[email protected]> Fri, 22 Jul 2005 20:41:43 -0300
| Newsgroups | gmane.comp.web.zope.page-templates |
|---|---|
| Message-ID | <[email protected]> |
Its not valid html and span inside css is not going to make your css happy either. Try: <span tal:omit-tag="" tal:content="structure container/css_header"> instead of: > <span tal:content="structure container/css_header"> It will then omit the span tags leaving the content with style tags. .. or consider using a macro. Regards David On Friday, July 22, 2005, at 07:17 PM, Matthew White wrote: > 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 > _______________________________________________ > ZPT mailing list > [email protected] > http://mail.zope.org/mailman/listinfo/zpt >