Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

Is it possible to find out the available web part width in px via JavaScript? Because I need to set the size of a component manually.

share|improve this question
add comment

1 Answer 1

up vote 1 down vote accepted

This might get you in the right direction. It's jQuery though.

jquery.width();

share|improve this answer
    
Good idea! Thanks! –  Ben Oct 20 '11 at 13:27
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.