Browser issue with ASP.net standard control button

how can I fix button errors that look different in two different browsers (IE, MOZILLA).

+2


a source to share


2 answers


You can apply CSS styles to the input element to ignore any browser / operating system views.

Here's a simple example, this should appear on your element head

:

<style type="text/css">
    #btn { border: solid 1px #693ace; background-color: #cecece; color: #ffffff; }
</style>

      



And the HTML button:

<input id="btn" type="button" value="Styled button" />

      

This site contains some good examples.

+1


a source


You can't if you don't use an image for the button.



You are asking for something similar to making your loko app the same for XP and Windows 7 - there are certain things you cannot change without breaking standard management contracts.

+2


a source







All Articles