Ich experimentiere hier etwas mit ExtJS, und da werden buttons mit Text erzeugt.
<button>text</button>
So weit, so gut. Leider führt das im IE dazu, dass beim Drücken des Buttons der Text nach rechts unten geschoben wird, und das will ich nicht.
All meine Bemühungen, das mit CSS zu verhindern, sind fehlgeschlagen.
Mittlerweile habe ich rausgefunden, dass
<button><span>text</span></button>
funktioniert, aber da der HTML-Code wie gesagt von ExtJS generiert ist, hilft mir das wenig.
<html><head>
<title>Button test for IE</title>
<style type="text/css">
* {
border: 0 !important;
margin: 0 !important;
padding: 0 !important;
top: 0 !important;
left: 0 !important;
position: relative !important;
line-height: 12px;
color: red;
}
</style></head><body>
<button>Button <span>Span</span></button>
</body></html>