> If I use the xml mode, all works ok. If I use the html mode the height
> doesn´t assume 100% of the page. I try hard to find the problem and
> discover that the doctype line is making the problem

Right.

Mozilla Firefox has three modes of rendering: 1) full standards, 2) 
almost standards and 3) quirks mode.

I think the problem is that Kid's "html-strict" mode sends Firefox to 
full standards mode, but the "html" mode sends it to almost standards 
mode only, not to quirks mode.

That is because "html" mode uses the doctype

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" 
"http://www.w3.org/TR/html4/loose.dtd";>

Even when the URI points to the "loose.dtd", Firefox still uses "almost 
standards" mode. It will switch to quirks mode only if you remove the 
URI from the doctype completely, or use a HTML 4.0 or lower doctype, or 
use no doctype at all (that is what you experienced).

So my suggestion is that Kid's output modes should match the three 
rendering modes of Firefox, i.e. we would need three output modes 
instead of two (not sure how to name them).

For the time being, you should define use any old doctype that enters 
quirks mode (Kid allows setting your own doctype for the html serializer 
with the "doctype" parameter).

Or, maybe even better, set "position: absolute" for the body tag in your 
CSS file. Then it should be independent from the rendering mode.

-- Christoph

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
kid-template-discuss mailing list
kid-template-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/kid-template-discuss

Reply via email to