currentStyle  Vs getComputedStyle

Does this browser support (Click to get Alert).IE does not support getComputedStyle. But, IE9 supports it.

We can set style to an element either using inline style or external style. When we try to access any style attribute using javascript which one we get

 Demo  

https://developer.mozilla.org/En/DOM/Document.defaultView

http://www.quirksmode.org/dom/w3c_html.html

5 Responses to "CurrentStyle vs ComputedStyle"

  1. Great information. Lucky me I found your website by accident (stumbleupon). I’ve book-marked it for later!
  2. It’s hard to find well-informed people in this particular topic, however, you sound like you know what you’re talking about. Thanks!
  3. I have read your article, it is very informative and helpful for me.I admire the valuable information you offer in your articles. Thanks for posting it.
  4. Thanks for a marvelous posting! I definitely enjoyed reading it, you’re a great author. I will ensure that I bookmark your blog and will come back sometime soon. I want to encourage that you continue your great work, have a nice day!
  5. Well, This is a great source. But I hope you keep posting and updating this site. Have a great day.

Leave a Reply




Privacy Policy | Terms of use
css template ready for  n°web
© 2008 2009 2010 by http://nazmulweb.com