Click here to Skip to main content
15,879,474 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
I have one webpart and values stored in List.But when I retrieve values in webpart that time programmatically I disable my panel having all controls and set all control color is black with use of CSS.

Its working fine in IE10 but not working IE9 and IE8.

So Please suggest me something to come out this issue.

Thanks in Advance
Posted
Updated 21-May-15 20:17pm
v2

1 solution

If it working in IE10 then you may want to look at using an IE Specific Media Block found here: http://www.keithclark.co.uk/articles/moving-ie-specific-css-into-media-blocks/[^]

Unfortunately IE stopped supporting Conditional Comments a few versions ago so we need to use alternate methods of applying specific css. Try wrapping your CSS that works for IE10 in some of the media blocks found in the link I posted earlier and see if that works for you.

Hope this helps.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900