The center of the picture CSS has a lot of methods, but in many cases, some methods are invalid, it is not intended to find the official processing of the system Image Center, left, right css writing, like friends can be collected oh
The center of the picture CSS has a lot of methods, but in many cases, some of the methods are not valid, this is a very headache, in the study of the WORDPRSS program, it is not intended to find the official processing of the system Image Center, left, right of the CSS, share!
For example, a picture of the
General Settings Picture Properties Text-align:centre Horizontal Center, but this method is often invalid, after the use of the following notation!
Copy the Code code as follows:
/* Alignment */
. alignleft {
Display:inline;
Float:left;
}
. alignright {
Display:inline;
Float:right;
}
. aligncenter {
Clear:both;
Display:block;
Margin:auto;
}
CSS settings img property to align the picture horizontally/left/right