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/