Response title
This is preview!
- <link rel="stylesheet" href="Content/themes/base/dialog.css" />
- <script>
- $(function () {
- $("#dialog-message").dialog({
- modal: true,
- buttons: {
- Ok: function () {
- $(this).dialog("close");
- }
- }
- });
- });
- </script>
Here is the Div
- <div id="dialog-message" title="Download complete">
- <p>
- Your files have downloaded successfully into the My Downloads folder.
- </p>
- <p>
- Currently using <b>36% of your storage space</b>.
- </p>
- </div>
When I run this there is no background to the title and the body of the text is really small in width - probably about a 1/10 the width of the dialog.

Any idea
- .ui-dialog {
- overflow: hidden;
- position: absolute;
- top: 0;
- left: 0;
- padding: .2em;
- outline: 0;
- }
- .ui-dialog .ui-dialog-titlebar {
- padding: .4em 1em;
- position: relative;
- }
- .ui-dialog .ui-dialog-title {
- float: left;
- margin: .1em 0;
- white-space: nowrap;
- width: 90%;
- overflow: hidden;
- text-overflow: ellipsis;
- }
- .ui-dialog .ui-dialog-titlebar-close {
- position: absolute;
- right: .3em;
- top: 50%;
- width: 20px;
- margin: -10px 0 0 0;
- padding: 1px;
- height: 20px;
- }
- .ui-dialog .ui-dialog-content {
- position: relative;
- border: 0;
- padding: .5em 1em;
- background: none;
- overflow: auto;
- }
- .ui-dialog .ui-dialog-buttonpane {
- text-align: left;
- border-width: 1px 0 0 0;
- background-image: none;
- margin-top: .5em;
- padding: .3em 1em .5em .4em;
- }
- .ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset {
- float: right;
- }
- .ui-dialog .ui-dialog-buttonpane button {
- margin: .5em .4em .5em 0;
- cursor: pointer;
- }
- .ui-dialog .ui-resizable-se {
- width: 12px;
- height: 12px;
- right: -5px;
- bottom: -5px;
- background-position: 16px 16px;
- }
- .ui-draggable .ui-dialog-titlebar {
- cursor: move;
- }
© 2013 jQuery Foundation
Sponsored by and others.