CSS box-align attribute and cssbox-align attribute

Source: Internet
Author: User

CSS box-align attribute and cssbox-align attribute

Definition and usage of the box-align attribute:
Sets or retrieves the alignment of child elements of an Elastic box model object.
Check box-pack, which has the opposite effect.
Box-align alignment is influenced by box-orient.
By default (box-orient is set to horizontal), start and end are equivalent to top and bottom alignment.
When box-orient is set to vertical, the effect of start and end is equivalent to the left and right alignment.
The corresponding script feature is boxAlign.
Syntax structure:

box-align:start | end | center | baseline | stretch

Valid value:
Stretch: sets the child element adaptive parent element size of the elastic box model object.
Start: sets the child element alignment of the elastic box model object from the starting position.
Center: sets the child elements of the elastic box model object to center and align.
End: sets the child element alignment of the elastic box model object from the end position.
Baseline: sets the baseline alignment of child elements of an Elastic box model object.
Browser support:
1. Browsers under IE9 and IE9 do not support this attribute.
2. operabrowser does not support this attribute.
3. Opera, Safari, and Chrome support this attribute.
4. For the moment, you must use the Compatibility Statement of your browser except for IE.
Inheritance:
No inheritance.
Code example:

<! DOCTYPE html> 

The original address is: http://www.softwhy.com/forum.php? Mod = viewthread & tid = 1401.

For more information, see: http://www.softwhy.com/divcss/

Related Article

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.