如何在html中的多个页面上分配长表的行 [英] How to distribute rows of a long table on multiple pages in html
问题描述
我是 Web 开发的新手,我在处理长表时遇到了问题.我有一个页面,其中包含大量行,将它们显示在一页上看起来不太好.我想将这些行分布在多个页面上,比如如果我有 24 行,我只想在一个页面上显示 3 行,那么这个完整的表格将显示在 8 个页面上.那么有没有办法做到这一点&怎么样?
提前致谢
您需要一个分页 技术.不同的语言有不同的技术.
您可以使用服务器(例如使用 php)或客户端分页技术(例如 使用 jQuery).请参阅此 jQuery 示例 http://web.enavu.com/demos/paginate/>
i'm new in web development, i have a problem to handle the long table. I have a page where have large number of rows it will not look so good to display them on one 1 page. i want to distribute these rows on multiple pages, like if i have 24 rows i want to display only 3 rows on a page so with this complete table will shown on 8 pages. so is there have any way to do this & how?
Thanks in advance
You need a pagination technique. There a different techniques for different languages.
You might use a server (e.g. with php) or client side pagination technique (e.g. with jQuery). See this jQuery example http://web.enavu.com/demos/paginate/
这篇关于如何在html中的多个页面上分配长表的行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!