Click here to Skip to main content
15,886,067 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hello All,

when i change the display styleof the TR and run the application on IE10
there's a change in this style, and i checked css's files and there's no skin file

here's what i wrote in the code :

ASP.NET
<tr id="trIADMem" style="visibility:hidden" height="20"  runat="server">

and that's what i found in the browser developer tools panel :
HTML
<tr height="20" id="trIADMem" style="display: block;">


with acknowledge there's other TR's woked correctly

what i wrote in the code :
HTML
<tr id="trApproverComments" style="visibility:visible" height="20"  runat="server">

that's what i found in the browser developer tools panel :
HTML
<tr height="20" id="trApproverComments" style="visibility: visible;">


could you tell me where's the wrong or am i missed any thing ?


thanks in advance,
Posted
Comments
Trajan McGill 18-Mar-14 11:27am    
Unsure what you are looking for. Can you explain how this is different than what you expect?
Member 10666843 18-Mar-14 11:45am    
"visibility:hidden"
give me on the browser
"display: block;"
ZurdoDev 18-Mar-14 12:02pm    
IE's dev tools have a trace style view. It should show you why it applied that style.
Trajan McGill 18-Mar-14 12:32pm    
The visibility style passes through just fine for me. I agree with RyanDev, the first step is to check the "trace" view (along with the regular style view) to see what styles are being applied and where they are coming from. You may have a CSS rule for #trIADMem that sets the display style to "block". And the visibility rule is disappearing altogether? Or you just didn't type it into the example? I suppose you could be messing around with the element's style attribute in the code-behind code in a way that removes that.
KumarSundeep 19-Mar-14 4:48am    
Agree with Trajan McGill. You can also try clearing your browser cache and pressing Ctrl+F5 to reload your page from current code.

1 solution

thanks all for your replies
it was a stucked dll containing old code
that was setting the value of those tr with display = "block"

thanks all :)
 
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