Thanks for the reply. As it turns out, the problem was with my CSS.
On 14/03/07, Robert Zeigler <[EMAIL PROTECTED]> wrote:
Pretty sure this isn't supported yet. See: http://tapestry.apache.org/tapestry5/tapestry-core/guide/dom.html Under "Dom Classes", Document, there's a "todo" that includes doctype support. Robert On Mar 14, 2007, at 3/1410:46 AM , Kovács István wrote: > Hi, > > I'm playing with Tapestry 5 (thanks Davor for getting me started!). I > need to include a DOCTYPE in my HTML. The t5-tutorial says it's > possible ("Templates may even have a DOCTYPE or an XML schema to > validate the structure of the template."); however, if I include a > DOCTYPE in my template, it's removed in rendered output. > That is, if my template is: > === > <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" > "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> > <html xmlns:t="http://tapestry.apache.org/schema/tapestry_5_0_0.xsd"> > <head> > <title>... > === > , rendered output is > === > <html><head><link href="/myapp/assets/tapestry/default.css" > rel="stylesheet" type="text/css"><title>... > === > Without the DOCTYPE being there, I get a weird layout (I'm a beginner > at CSS, too, so I may have broken something). > > BTW, the W3C validator says the "link" element is not closed properly, > which is a requirement for XHTML. > > Please let me know how to include the DOCTYPE. > > TIA, > Kofa > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]