Whenever I set any style for the Td tag in my common Css file that style applied to the webdropdown also.Could u please help me to get ride of it.
Like changing the padding-top in the TD element effects the height of the dropdown.
Event though I created the class style instead of element style but that woun't help.fieldTable td{padding-top:10px;
}
it effects all the dropdowns in my page.
Hey again,
I have the following suggestion for you:
Write a class for the WebDropDown that overrides the class for your entire table and apply this class to the WebDropDown. For instance, if you define in your table class:
.tableClass td {
padding-left: 15px;
Then for the drop down class define:
.ddClass td {
padding-left: 0px;
Please try this out and let me know if you need any additional help!
Best regards.
Actually this style is common in my project and i dont want to apply this class to all ID's as they are many.
that iwas the reason to use element type styling instead of class.
I applied this class to table ans assume it will effect only the TD's under that table .I want to know I it effectes the dropdowns and how i can prevent this.
Hi again, ashpawan,
Instead of applying a style to all td-s children of elements carrying class .fieldTable, just apply .fieldTable class to the specific td as a class attribute. This wouldn't affect the other TDs that are children of the element with class .fieldTable. I hope this helps, and let me know if you need any more help!
Thank you for using the Infragistics forums!