Only use css to achieve the effect of "four rows per column, and the data will automatically fill in the next column after loading one column". This question is represented by a diagram as follows: If the question is changed to "Use only CSS to implement four columns in each row, and the data will automatically fill in the next row after loading one row", then this problem will be much simpler. I believe everyone can use multiple methods. accomplish. But how to solve this problem now. By the way, this problem seems not so easy to solve. After all, we all use js or templates to assist in solving problems like this. What is the difficulty of this question? Only CSS is used to achieve this effect for dynamically added data, which means that except for dynamically adding data, it is impossible to change the existing document structure. What does that mean? For example, for this implementation, we can use the ul>li structure, but except for adding li (equivalent to adding a data layer), it is impossible to add a ul or other html tags to the original document. This question also becomes how to set different attributes of li under the same ul so that they "float" to another column after the fifth one? (Note: This is the structure used by the author, you can use other structures) After analyzing the problem, my first reaction is to use nth-chi
## Introduction: This article is The editor shared with you the key code for implementing four rows per column based on CSS and after loading one column, the data is automatically filled in to the next column. It is very good and has reference value. Friends who are interested should take a look at it
2. Yii Framework Official Guide Series 16 - Using Forms: Overview
Introduction: Collecting user data through HTML forms is one of the main tasks of Web program development. In addition to form design, developers also need to populate the form with existing or default data, validate user input, and display appropriate error messages for invalid input...
3. I would like to ask a newbie about how PHP fills the data into the XML file after getting it from the database.
Introduction: I would like to ask a newbie about how PHP fills the data into XML after getting the data from the database. Requirements in the file: I know the user ID, and query the relevant information of the user based on the user ID. The background SQL statement has been written. Now the data is filled into XML through nodes in the logical layer, and then obtained through the previous JS code. Data, please help me to find out what's wrong with the logic layer code I wrote, PHP code //Reference database processing file require_once
4. Problems related to Ajax getting data to fill the form
Introduction: Ajax getting data to fill the form problems through the client Use Ajax to request the server's data and fill it in the DOM. The filled data is: //If you want to submit the form now, the data requested by ajax cannot be obtained. to the value of info, why is this?
5. As a newbie, please tell me how to fill in the XML file after PHP obtains data from the database
##Introduction: A novice would like to ask a question about how to fill in the XML file after PHP obtains the data from the database: I know the user ID, and query the relevant information of the user based on the user ID. The background SQL statement has been written, and now it is used in the logical layer through nodes. Fill the data into XML, and then obtain the data through the previous JS code. Please help me find out what is wrong with the logic layer code I wrote. PHP code// Reference database processing file require_once &q6.
Oracle fills the table with random data
Introduction : A script also from AskTom, which can fill a table with random data create or replace procedure gen_data( p_tname in varchar2, p_records in n
7. CodeSmith Practical Tips (10): Execute templates through programming Introduction: CodeSmith completes this by calling some APIs when executing templates , mainly through the following steps: l Compile a template l Display compilation error information l Create a new template instance l Fill the template with metadata l Output results The following code shows these operations: CodeTemplateCompilercompiler = new CodeTempla 8. javascript - Is it better to use js or program to render a web website? Introduction: In the past, when making websites, PHP was used directly on the template page, and echo output data to render the template. Recently, I came into contact with a project that used PHP as an excuse, and then used all the front-end The ajax asynchronous request interface of js obtains the data, and then fills it into html to complete the data filling work. In the past, PHP was mixed in the html code... [Related Q&A recommendations]: javascript - Backbone collection fetch problem javascript - BackboneJS, why can’t I get the data?
The above is the detailed content of Recommended articles about data filling. For more information, please follow other related articles on the PHP Chinese website!