Js help

how can i get (not set) the width or height or a <div> element in a document, i tried everthing i know but it was useless.
the div has an id (“subCat”) and when i used document.getElementByID(“subCat”).style.height, i get nothing ( i tried with an alert box and the box was empty)…
pls help…