asp.net - help styling the asp:button control using the Sliding Door technique -


due problem encountering asp.net (see: asp.net 4.0 random posting behavior) need style asp:button controls (that of course resolve <input type=submit> tags) using sliding door technique.

we had <button><span>text</span></button> sets because of above issue need move asp:button controls.

you cannot put <span> tag inside of asp:button control, working above not work.

i got work in ie8 wrapping button div using "display: inline-block". fails in ie7, not solution us. needs work in both ie7 & ie8 (firefox great, in not required)

to fix display: inline-block; ie6-7 can try

<div class="button"><input type="submit" /></div>   .button {    display: inline;    display: inline-block;    zoom: 1; } 

(these styles correct time want simulate inline-block in browsers)


Comments

Popular posts from this blog

c++ - How do I get a multi line tooltip in MFC -

asp.net - In javascript how to find the height and width -

c# - DataTable to EnumerableRowCollection -