Detect inline/block type of a DOM element

Posted by abernier on Stack Overflow See other posts from Stack Overflow or by abernier
Published on 2010-05-21T09:34:04Z Indexed on 2010/05/21 9:40 UTC
Read the original article Hit count: 242

Filed under:
|
|
|

Hi,

How to detect whether a DOM element is block or inline with javascript?

For example, is there a function/property which returns 'inline' for a 'a' tag?

Thank you.

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about dom