Hello,
To avoid problems with general application CSS styles and Telerik Controls you should use CSS classes and not global styles. In the case of having specific styles for unordered lists, I will suggest to use something like <ul class="myClass"> and to cascade through that class.
Look at the following example, where global styles for unordered list are applied and that breaks the RadWindow layout, which buttons are made with an unordered list also:
Attached is globalstyles.gif shwoing the result in the browser. The desited styles for unoredered list were applied to the UL element, but they were applied also to the RadWindow, which we do not want.
The following examples shows the same code with a CSS class applied to the UL element that we want to style. The CSS cascade is done through that class and that way we do not break RadWidnow layout:
Specificstyles.gif shows the result in the browser - you have the UL styled and in the same time RadWidnow looks fine.
Regards,
Bozhidar
the Telerik team
Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license!
Book your seat now >>