Button StyleSpec Fails

  1. #1

    Button StyleSpec Fails

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/tr/xhtml11/dtd/xhtml11.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head runat="server">
        <title>Demo</title>
    </head>
    <body>
        <form id="Form1" runat="server">
            <asp:ScriptManager runat="server" EnablePartialRendering="True" />
            <ExtJS:ScriptManager ID="ScriptManager1" runat="server" StateProvider="PostBack" Theme="Gray" />
            <ExtJS:Button ID="btnLogin" runat="server" Text="Login" StyleSpec="display: inline-table; margin-right: 2px; width: 60px;" />
        </form>
    </body>
    SVN Fails in IE6.0 works in FF3.0

    Cheers,
    Timothy
  2. #2

    RE: Button StyleSpec Fails

    The <ext:Button> is a tricky one to style. It's getting a rework in a future version of ExtJS (v3.0 I think?) which should help improve height/width and css support.

    A while back someone found a hack for setting the width that seemed to work quite well. See, http://forums.ext.net/showthread.php...4-1.aspx#bm247

    Hope this helps.
    Geoffrey McGill
    Founder
  3. #3

    RE: Button StyleSpec Fails

    Worked as of ExtJS2.1, was the switch over that killed in IE6.0

    I'll check the hack out.

    Cheers,
    Timothy

Similar Threads

  1. [CLOSED] TextField align with StyleSpec
    By supera in forum 2.x Legacy Premium Help
    Replies: 2
    Last Post: Jan 24, 2012, 2:56 PM
  2. [CLOSED] modify property StyleSpec
    By rnfigueira in forum 1.x Legacy Premium Help
    Replies: 1
    Last Post: Apr 06, 2011, 2:58 PM
  3. CompositeField StyleSpec issue
    By joao.msdn in forum 1.x Help
    Replies: 0
    Last Post: Jan 07, 2011, 1:07 PM
  4. [CLOSED] StyleSpec für Buttons
    By macap in forum 1.x Legacy Premium Help
    Replies: 7
    Last Post: Aug 24, 2010, 12:51 PM
  5. [CLOSED] Changing StyleSpec of Label
    By danielg in forum 1.x Legacy Premium Help
    Replies: 4
    Last Post: Feb 26, 2009, 9:04 AM

Posting Permissions