How to repeat Crystal Report Header on each page?

XML template won't work on blogger?

  • Tried to load this template from PYZAM onto my blogger but I keep getting the following error: Your template could not be parsed as it is not well-formed. Please make sure all XML elements are closed properly. XML error message: Open quote is expected for attribute "{1}" associated with an element type "border". Please help with directions or correct the code please. Here is the original HTML code: <?xml version="1.0" encoding="UTF-8" ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-… <html xmlns='http://www.w3.org/1999/xhtml' xmlns:b='http://www.google.com/2005/gml/… xmlns:data='http://www.google.com/2005/g… xmlns:expr='http://www.google.com/2005/g… <head> <b:include data='blog' name='all-head-content'/> <title><data:blog.pageTitle/></title> <b:skin><![CDATA[/* --------------------------------------… Blogger Template Style Name: Designer: pYzam Team URL: www.pyzam.com --------------------------------------… */ /* Variable definitions ==================== <Variable name="bgcolor" description="Page Background Color" type="color" default="#E42727" value="#E42727"> <Variable name="textcolor" description="Text Color" type="color" default="#C80202" value="#C80202"> <Variable name="linkcolor" description="Link Color" type="color" default="#FFFFFF" value="#FFFFFF"> <Variable name="pagetitlecolor" description="Blog Title Color" type="color" default="#FFFFFF" value="#FFFFFF"> <Variable name="descriptioncolor" description="Blog Description Color" type="color" default="#FFFFFF" value="#FFFFFF"> <Variable name="titlecolor" description="Post Title Color" type="color" default="#FFFFFF" value="#FFFFFF"> <Variable name="bordercolor" description="Border Color" type="color" default="#FFFFFF" value="#FFFFFF"> <Variable name="sidebarcolor" description="Sidebar Title Color" type="color" default="#C80202" value="#C80202"> <Variable name="sidebartextcolor" description="Sidebar Text Color" type="color" default="#C80202" value="#C80202"> <Variable name="visitedlinkcolor" description="Visited Link Color" type="color" default="#FF0000" value="#FF0000"> <Variable name="bodyfont" description="Text Font" type="font" default="normal normal 100% Georgia, Serif" value="normal normal 100% Georgia, Serif"> <Variable name="headerfont" description="Sidebar Title Font" type="font" default="normal normal 78% 'Trebuchet MS',Trebuchet,Arial,Verdana,Sans-serif" value="normal normal 78% 'Trebuchet MS',Trebuchet,Arial,Verdana,Sans-serif"> <Variable name="pagetitlefont" description="Blog Title Font" type="font" default="normal normal 200% Georgia, Serif" value="normal normal 200% Georgia, Serif"> <Variable name="descriptionfont" description="Blog Description Font" type="font" default="normal normal 78% 'Trebuchet MS', Trebuchet, Arial, Verdana, Sans-serif" value="normal normal 78% 'Trebuchet MS', Trebuchet, Arial, Verdana, Sans-serif"> <Variable name="postfooterfont" description="Post Footer Font" type="font" default="normal normal 78% 'Trebuchet MS', Trebuchet, Arial, Verdana, Sans-serif" value="normal normal 78% 'Trebuchet MS', Trebuchet, Arial, Verdana, Sans-serif"> */ /* Use this with templates/template-twocol.html */ body { background:$bgcolor; margin:0; color:$textcolor; font:x-small Georgia Serif; font-size/* */:/**/small; font-size: /**/small; text-align: center; background-color:#E42727; background-image: url(http://stuff.pyzam.com/layouts/img/r/e/bdrepublican.gif); background-attachment: fixed; background-position:bottom left; background-repeat:no-repeat; border-color:#FFFFFF; border-width:15px; border-style:solid; } a:link { color:$linkcolor; text-decoration:none; } a:visited { color:$visitedlinkcolor; text-decoration:none; } a:hover { color:$titlecolor; text-decoration:underline; } a img { border-width:0; } /* Header --------------------------------------… */ #header-wrapper { width:660px; margin:0 auto 10px; border:1px solid $bordercolor; background-color:#EF3434; } #header-inner { background-position: center; margin-left: auto; margin-right: auto; } #header { margin: 5px; border: 1px solid $bordercolor; text-align: center; color:$pagetitlecolor; background-color:#EF3434; } #header h1 { margin:5px 5px 0; padding:15px 20px .25em; line-height:1.2em; text-transform:uppercase; letter-spacing:.2em; font: $pagetitlefont; } #header a { color:$pagetitlecolor; text-decoration:none; } #hea

  • Answer:

    I may be incorrect here, but: "background:$bgcolor;" You can't just put the variables in the CSS. You have a choice of opening PHP (or whatever you're using to set those variables) and echoing it out, or putting in the correct colour manually. So: background: <?php echo $bgcolor; ?>; would be my suggestion. The same for all the others beginning with $

Amy B at Yahoo! Answers Visit the source

Was this solution helpful to you?

Related Q & A:

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.