Hi, It works! Finally! Kid creates <div></div>-Tags or <script></script> tags etc. but the <br />-tag is allways <br /> (I thought that kid would allways create <tag />-Tags, when possible, so when I saw the first <script></script>-tags I thought that kid would still do bad things *g*) anyway... I have no <br></br> anymore ;-).
Many thanks to Adam and Martin (again)! Andreas Bresser -------------------------------------------- Here I collected some small tips that a reader with the same problem can check (a small summary): 1. set a doctype (e.g. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">) 2. set xmlns and xmlns:py in the html-tag (e.g. <html xmlns="http://www.w3.org/1999/xhtml" xmlns:py="http://purl.org/kid/ns#">) 3. when using "py:extends" and "py:match" use py:match="item.tag == '{http://www.w3.org/1999/xhtml}body'" instead of py:match="item.tag == 'body'" 4. when unsing "py:extends" set the doctype and the xmlns also in the file that you extend (of course use the same doctype and the same xmlns-source). 5. do not care about <script></script> tags or other <tag></tag> tags, the <br /> will allways be a <br /> so the IE should interpret this correct. 6. is there no typo in one of the urls? (It's called W3C - World Wide Web Consortium, but the url is just w3.org, not w3c.org... when you type w3c.org in your browser you will be redirected to the w3.org-page, but kid only knows w3.org) 7. have you specified a "kid.outputformat" in your dev.cfg or prod.cfg... (you should not specify it there, use the <project>/config/app.cfg) 8. is the kid.outputformat in your <project>/config/app.cfg set to "xthml" or "xhtml-strict"? (the default setting for kid is "xml", but when you NOT specify an outputformat turbogears sets it to "html", so the default in turbogears is "html") 9. take a look at the docu. Here are some usefull links: http://www.turbogears.org/preview/docs/gs/headersfooters.html, http://kid-templating.org/guide.html#common-output-methods and http://kid-templating.org/language.html#match-templates-py-match Good luck! --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TurboGears" 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/turbogears -~----------~----~----~----~------~----~------~--~---

