Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Compare div content height against actual div height

Status
Not open for further replies.

Slimsteve

Technical User
Jun 10, 2003
67
GB

Hi

Just wondering if there was anyway to compare the height of the content contained in div area against the actual div height.

For example.

I have a div area which has a height of 200px, but the actual content in the div is 300px+ high and therefore is scrolling up and down. But the content in the div is dynamic so the height of the content will change.

So is there any way on the page load that I can compare the div content height against the actual div height.

Hope that makes senses, any feedback appreciated.

Slim
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top