website stat

W3C DOM Compatibility

Did you know that cellPadding is not supported in KHTML/WebKit browsers such as Safari or Konqueror? Or that Firefox does not support innerText to get the content from an HTML tag?

One is more or less aware of these small itches that burden our web development life. But this is not the kind of stuff that should be clotting your brain [1], so here’s a great reference comparing all the major browsers and, furthermore, giving some cross browser solutions to these kind of problems.

W3C DOM Compatibility - HTML by QuirksMode.org

[1] - But you should be well aware of the W3C standards though.


1 Response to “W3C DOM Compatibility”

  1. eiras
    Published at May 16th, 2008 at 1:51 am

    cellPadding is IE only, innerText is IE only. Those were made up in 97 with IE4, the time of table based layouts.

    Now you use css and textContent.