This article summarizes various centering layout methods using CSS. Interested friends can refer to this article to discuss the situation where the centering situation is set to a variable total width and variable content width. (Still centered when resized). Special note: When setting position:absolute; to set the centering effect on an element, in addition to the css3 method introduced in the blog, you can also use negative margin to center. This solves the compatibility problem, but only applies to known width and height. (because a negative offset is half the width and height of the element). When the width and height change, there is no longer a centered effect. Child elements in these layouts default to the content width because of their property settings. All the centered examples in this article only discuss the implementation of css. The html code is unified as follows:
demo This centered layout method is summarized in detail for everyone. Interested friends can refer to
2. Python crawler skills summary
Introduction: This article is mainly for everyone to summarize in detail Some commonly used Python crawler skills have certain reference value. Interested friends can refer to them
3. Detailed summary of MySQL user permissions
Introduction: Global permissions apply for all databases in a given server. These permissions are stored in the mysql.user table. GRANT ALL ON. and REVOKE ALL ON. Only grant and revoke global permissions.
4. Summary of common configuration options of ThinkPHP_php example
Introduction: This article mainly introduces the common configuration options of ThinkPHP, and summarizes in detail the configuration items commonly used in ThinkPHP configuration files. For the meaning and function, friends in need can refer to it
5. A summary of a thousand lines of MySQL learning notes
Introduction: This article summarizes various techniques in MySQL learning in detail and shares them with you for your reference. . The details are as follows: /* Start MySQL */net start mysql/* Connect and disconnect from the server */mysql -h address-P port-u username-p password/* Skip permission verification to log in to MySQL */mysqld --skip- grant-tables--Modify root password password encryption
6. Preliminary detailed summary of various short URL algorithm applications on the Internet
Introduction: I have seen Sina’s short link service and found that there are mainly 6 characters at the end string, so the first thing that comes to mind is a game activation code rule written by the original company, which is the following algorithm 2, 26 uppercase letters, 26 lowercase letters, 10 numbers, 6 are randomly generated and then inserted into the database to correspond to an id. When short connection jumps, the corresponding id is queried according to the string, that is,
7. Summary of common configuration options of ThinkPHP_PHP
Introduction: This article mainly introduces the common configuration options of ThinkPHP. A detailed summary of the configuration items commonly used in ThinkPHP configuration files and their specific meanings and functions. Friends in need can refer to it
8. MySQL connection and basic information viewing command summary_MySQL
Introduction: This article mainly provides a detailed summary of MySQL connections and basic information viewing commands. Interested friends can refer to it
9. Summary of PHP connection to MSSQL methods_PHP
Introduction: This article mainly summarizes in detail the implementation methods of PHP connection to MSSQL to help you better realize the connection between PHP and MSSQL. Interested Friends can refer to it
10. Summary of common PHP skills_PHP
Introduction: This article mainly provides a detailed summary of common PHP skills. Interested friends can refer to it
【Related Q&A recommendations】:
The above is the detailed content of Detailed introduction to detailed summary. For more information, please follow other related articles on the PHP Chinese website!