JQuery UI Dialog Style setup issues

Source: Internet
Author: User

  This article is mainly to jquery in the UI dialog the style of the problem of the design of a detailed analysis, the need for friends can come to the reference, I hope to help you.

Recently in the use of a jquery UI dialog plug-ins, feel particularly powerful, but the style settings are more troublesome, studied two days finally finished.   Run Plug-ins, need the environment as follows   <script src= ". /.. /js/jquery-1.4.2.js "type=" Text/javascript "></script>   <script src=". /js/jquery.ui.js "type=" Text/javascript "></script>   <link href=" css/themes/redmond/ Jquery.ui.all.css "rel=" stylesheet "type=" Text/css "/>     JQUERY.UI.ALL.CSS for startup style CSS, open view with Firefox, The title of the floating layer is as follows,   <span id= "ui-dialog-title-divshow" class= "Ui-dialog-title" on "unselectable="- Moz-user-select:none; " > People a stop tip </span>   is actually a span, then according to this class Ui-dialog-title   we go to the official website of the CSS directory to find jquery.ui.dialog.css files Find Classui-dialog-title   This CSS style.   Ui-dialog. ui-dialog-title {font:62.5% "Trebuchet MS", sans-serif;font-weight:bold;float:left; margin:. 1em 16 px. 1em 0; HEIGHT:15PX}   Modify this CSS to achieve the head style of the floating layer we want.   Header background settings:   Ui-widget-header {border:1px solid #aaaaaa; background: #cccccc URL (images/ui-bg_highlight- Soft_75_cccccc_1x100.png) 50% 50% repeat-x; Color: #222222; Font-weight:bold;   can remove background picture settings to background color  . ui-widget-header {border:1px solid #aaaaaa; background-color:red; color: #222222; font -weight:bold;   about X and lower right corner icon settings:   icon. ui-icon {width:16px; height:16px; Background-image:url (images/ui-icons_222222_256x24 0.png); }  

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.