We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

How to Set height and width in percentage

Hello,

i have use syncfusion accordion and rota tor control in my razor view, but i m not able to set height and width to theses control in percentage according to screen resolution. could please provide us how to set it by giving a demo application.



1 Reply

VR Varalakshmi R.S Syncfusion Team September 14, 2011 12:26 PM UTC

Hi Shivkumar,

Thanks for using syncfusion products.

If you want to set width/heigh in percentage then it can be achieved only by modifying the css styles of these controls.You can not directly set the width/height in %. We suggest you to set width/height in the class "ui-accordion .ui-accordion-content" for accordion control and similarly css styles for rotator control classes should be modified. Kindly download the sample for the accordion control from the following link,

Accordion-116484591.zip

Regards,
Varalakshmi R.S


Loader.
Live Chat Icon For mobile
Up arrow icon