JQueryMiniUI development tutorial Form Control Form: widget size adjustment (4)

Source: Internet
Author: User
You can directly set the width in the style: & lt; inputclass & quot; mini-textbox & quot; style & quot; width: 200px; & quot;/& gt; to adjust the height of a widget, such as a button, input box, drop-down box, or date box, use the CSS style, as shown in the following code:/* button */. mini-butt...

Width Adjustment

You can directly set it in style:


Height Adjustment

To adjust the height of controls such as buttons, input boxes, drop-down boxes, and date boxes, use the CSS style as follows:
/* Button */
. Mini-button-text
{
Padding-top: 1px;
Padding-bottom: 2px;

Padding-top: 3px \ 9;
Padding-bottom: 1px \ 9;
}
/* Textbox */
. Mini-textbox
{
Height: 19px;
}
. Mini-textbox-input
{
Height: 17px;
Line-height: 15px;
}
/* Buttonedit */
. Mini-buttonedit
{
Height: 19px;
}
. Mini-buttonedit-border
{
Height: 17px;
}
. Mini-buttonedit-input
{
Height: 17px;
Line-height: 15px;
}
. Mini-buttonedit-button
{
Height: 13px;
}
. Mini-buttonedit-icon
{

Width: 15px;
Height: 14px;
}
. Mini-datepicker. mini-buttonedit-icon
{
Background-position: 50% 1px;
}

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.