Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
555
Web Drop Down
posted

Dear All,

When I change My CSS Style for the Table, The Web Drop Down Control Size also changed, as Follows

Pls help me

Thanks

Suhaib

  • 15979
    posted

    Hello Suhaib,

    This is an expected behavior. On the page “WebDropDown” control is rendered as group of HTML elements (mainly DIV’s and Tables) and if you apply styles to all such elements in your page these attributes will be applied to the dropdown control also.

    In order to avoid this you should create classes or id’s for all other tables and table elements and apply your CSS to them and not to all HTML elements of certain type on the page.

    Also if you use “!important” in some of the styles for dropdown surrounding elements you may consider removing it because it will be applied to all child elements regardless of other styles applied.