Note that there are some explanatory texts on larger screens.

plurals
  1. POJQuery dialog has huge header
    primarykey
    data
    text
    <p>I'm using:<br /> &nbsp;&nbsp;JQuery 1.6.1 <br /> &nbsp;&nbsp;JQuery UI 1.8.13 <br /> &nbsp;&nbsp;Chrome 12.0.742.100 <br /> &nbsp;&nbsp;IE 7.0.5 <br /> &nbsp;&nbsp;FF 4 <br /> <br />I made a JQuery UI dialog, and it looked fine in all 3. <img src="https://i.stack.imgur.com/c7UKn.png" alt="enter image description here"><br /><br /> I went about and made some more pages, but did nothing to the dialogs or css (that I know of, pretty new to the JQuery and CSS stuff). Then yesterday every dialog across all my pages starting looking like this (only in FF and chrome. IE still looks fine) ...</p> <p><img src="https://i.stack.imgur.com/Wffk1.png" alt="enter image description here"> <br /> The header part of it is suddenly huge, and I have no idea why. I'm been poking around in the css using firebug, but I can't get it to change back. <br /> Anybody got any good ideas?</p> <p>The HTML, CSS and JQuery are all pretty standard. I'm using one of the pre-rolled themes from the JQuery-UI site.</p> <pre><code>&lt;div id="Div1" title="Connections"&gt; &lt;a href="CM.aspx?mode=0" class="jquery-ui-button dialog-link-button"&gt;Add&lt;/a&gt; &lt;a href="CMSearch.aspx" class="jquery-ui-button dialog-link-button"&gt;Search/Edit&lt;/a&gt; &lt;/div&gt; /* --------------------------------------------------------------------- */ /* disable the x in the upper-right corner of jquery-ui dialogs */ .ui-dialog-titlebar-close { display: none; } /* center the user-defined buttons within jquery-ui dialogs */ .dialog-link-button { float: none; width:250px; display: block; margin: 10px auto; } /* make the buttons in the jquery-ui dialog button pane on the bottom center aligned */ .ui-dialog-buttonpane .ui-dialog-buttonset .ui-button { float: none; display: block; margin: 10px auto; } /* --------------------------------------------------------------------- */ var options = { autoOpen: false, modal: true, open: function(event, ui) { /* blur the buttons so they aren't auto selected */ $(".dialog-link-button").blur(); }, resizable: false, buttons: { Cancel: function() { $( this ).dialog( "close" ); } } }; $('#connectionsModal').dialog(options); /* --------------------------------------------------------------------- */ </code></pre>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload