Invisible buttons

I have an ImageButton on the server side and a button on the server side and then a simple HTML input-type = "button". Neither the ImageButton nor the plain HTML button is visible, nor the Alt text of the ImageButton. However, when they validate it, they output to the client-side HTML.

Does anyone have any idea?

<asp:ImageButton runat="server" ID="btnCancel" OnClientClick="top.ChaseDialog.hide();"
                    ImageUrl="~/Images/PageControls/pageControls_Delete_sm.gif" AlternateText="xxxxxxxx"></asp:ImageButton>

      

0


source to share


1 answer


It's hard to tell without seeing the full HTML and CSS. Several possible reasons:

  • Some incorrect CSS rule makes them invisible;
  • Something else above them;
  • Due to the automatic resizing of elements, they were compressed with no pixels at all;
  • They are outside the container that has overflow:hidden

    ;
  • The container they are ir is invisible due to the above reasons;


Added: I suggest you use a client side HTML debugger like "Internet Explorer Developer Toolbar" for IE or "FireBug" for FireFox.

0


source







All Articles