Previous Message
Next Message

height property on table with FPI loose declaration

Sent by Paolo Candelari on 14 February 2004 05:05


> > I don't know if IE6 have a bug
> 
> Lots :)

.... If IE6 have this kind of bug! :)


> > , but when I use height property with table and  FPI loose declaration 
> > ("http://www.w3.org/TR/html4/loose.dtd") in DOCTYPE, rendering isn't 
> > correct.
> 
> Given a Doctype with a URI, its more likely that it stops rendering the 
> page incorrectly and starts rendering it as something closer to what 
> the standards say.
> 
> > I have this style rule
> >
> > table.h100 {height: 100%}
> >
> > and when I use it on a table, if DOCTYPE declaration is
> >
> > <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
> 
> ... triggering Quirks (Make the same mistakes as IE 5) mode.
> >
> > If I use this DOCTYPE declaration
> >
> > <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
> >    "http://www.w3.org/TR/html4/loose.dtd">

> 
> ... triggering Standards mode.
> 
> > table height it's just the height of table content.
> 
> 100% of what? The standard says that if the parent element doesn't have 
> an explicit height, then a height set on an element as a percentage 
> should collapse back to height: auto - which is what you are seeing.

I want 100% of canvas. Now I set height:100% to BODY and with Standard mode look good.

But, remain a question, look ok because of a bug or because of I set right property to body
element?

Bye.

______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Previous Message
Next Message

Possibly related: