开发者

HTML Table with scrollbar or select list with columns?

i wish to grab items from a database and put them in a fixed size 'container', which will have a scrollbar. How could i do this so that internally i can still have columns so different field lengths remain alligned within the table?

Either i need some sort of select with formatted columns or i need a table which can be a c开发者_如何学编程onstant height and you scroll down further to see more results. At the moment ive got a table and the more results i have, the longer my actual whole page is.


well you could use {overflow-y:scroll;} on a div for the scroll part.

Or you could use pagination in you db query, so you only have a set number of results per page if you dont like to scroll.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜