Any cross browser issues with document.documentElement

Any cross browser issues if I use document.documentElement ?

Target browsers are

  • Firefox
  • Internet Explorer
  • Opera
  • Safari
  • Android
  • iOS
  • BlackBerry

Thanx in advance.

Answers:

Answer

Quirksmode says

document.documentElement.clientWidth/Height

  • Meaning: Viewport dimensions Measured in CSS pixels
  • Browser errors: None

http://duckduckgo.com/?q=!%20document.documentElement%20site%3Aquirksmode.org

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.