Jump to content
  • 0

свойство height блока


GogA
 Share

Question

Хочу узнать высоту блока в пикселях...

например такого:

Текст

Текст

на js код document.getElementById("bl").style.height будет "отдавать" размер блока, только тогда, когда через js изменишь это свойство..

Как быть?

Link to comment
Share on other sites

3 answers to this question

Recommended Posts

Guest
This topic is now closed to further replies.
 Share

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. See more about our Guidelines and Privacy Policy