how to set div block's height in firefox using javascript

  • Thread starter Thread starter chenhong
  • Start date Start date
C

chenhong

I try to set myDivObject.style.height.
It won't work.
any suggestion

TIA
 
I find out why in firefox style.height won't work.
The value that give to style.heigth must end with "px".
IE have no such restriction.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top