IWETHEY v. 0.3.0 | TODO
1,095 registered users | 0 active users | 1 LpH | Statistics
Login | Create New User
IWETHEY Banner

Welcome to IWETHEY!

New Know it fixes problems related to well-formedness
But I ran the 4 examples though the W3C validator and they all check out. Which begs the question of why the height attribute on the DIV tag is ignored in the XHTML document.
New Seems to be the lack of unit identifier
The CSS spec requires that measurements have a unit identifier, such as px for pixels or pt for points.

It appears to be a case where Firefox just assumes pixels when rendering HTML but ignores the incorrect declaration when rendering in XHTML. This passes the W3 validator because the CSS validator is a seperate utility.

If you put ".div {height:20;width:100%;overflow:auto;}" into the CSS validator it kicks it out for not having a unit on the height.

Jay
New That was what I was trying to grok. Thanks.
     Question on Height attributes for DIV/SPAN tags - (ChrisR) - (12)
         OS X Firefox has scrollbars for HTML 4.0 DIV - (SpiceWare)
         Re: Question on Height attributes for DIV/SPAN tags - (admin) - (1)
             That'll do the trick. Thanks. -NT - (ChrisR)
         Height means nothing on a span tag - (JayMehaffey) - (6)
             Makes sense for the most part - (ChrisR) - (5)
                 Re: Makes sense for the most part - (JayMehaffey) - (3)
                     Know it fixes problems related to well-formedness - (ChrisR) - (2)
                         Seems to be the lack of unit identifier - (JayMehaffey) - (1)
                             That was what I was trying to grok. Thanks. -NT - (ChrisR)
                 Have a rummage in here. - (static)
         20 what? - (ubernostrum) - (1)
             Well, you'd think that have a default. - (ChrisR)

Please do not spit too loud, thank you.
61 ms