
03-24-2009
|
|
|
|
Re: <td> height rendering
I know that. This is the reason I posted my trouble here Because all major
browsers render my code properly in standards mode except internet explorer.
"C A Upsdell" <""cupsdell"@nospam@upsdel" wrote:
> K-Ras wrote:
> > But if you don’t give a “100%” height to the html and body elements, they
> > won’t stretch all the way across the windows height. You can see this by
> > giving a border to those elements.
> > e.g.
> > html, body{
> > border:1px solid red;
> > }
> >
> > Moreover, if you exclude the doctype tag, the tables will be rendered
> > accordingly to the logic that I am describing (thus properly from my point of
> > view).
>
> If you omit the DOCTYPE, the page is rendered in Quirks Mode, not in
> Standards Mode. If a page only looks fine to you in Quirks Mode, then
> your code is broken: you have a mistaken understanding of some
> element(s) of the standards. And using Quirks Mode is risky: you
> cannot assume that all browsers will render broken code in the same way,
> so the page may be rendered as you expect with some browsers, but not
> with other browsers.
>
>
|