在几列中列出,如何? [英] listing in several column, how?
问题描述
您好!
我正在使用php从MySql查询中获取结果,但是列表太多了
长在一列中。
我可以使用CSS在几栏中得到我的结果吗?
怎么样?
PS。这是我第一次使用CSS,所以要温柔(C:
欢呼
H?kon Helgesen
>
推荐答案
H?kon Helgesen写道:
H?kon Helgesen wrote:
你好!
我使用php从MySql查询中获取结果,但是这个列表在一个列中太长了。
我可以使用CSS将我的结果放在几个列中吗?
如何?
Hello!
I am using php to get a result from a MySql Query, but the listing is
too long to have in one column.
Can i use CSS to get my result in several column?
How?
>
你在''列表''使用什么样的标记?表,列表,......?
Matthias
What kind of markup are you using for your ''listing'' ? Tables, lists, ... ?
Matthias
Matthias Gutfeldt写道:
Matthias Gutfeldt wrote:
你用什么样的标记用于''列表''?表,列表,......?
马蒂亚斯
What kind of markup are you using for your ''listing'' ? Tables, lists, ... ?
Matthias
我一直在使用桌子,但如果你有一些小费,可以提出建议。
H?kon Helgesen
I have been using table, but are open for suggestions if you have some tip.
H?kon Helgesen
H?kon Helgesen写道:
H?kon Helgesen wrote:
Matthias Gutfeldt写道:
Matthias Gutfeldt wrote:
你在''列表''使用什么样的标记?表,列表,
......?
Matthias
What kind of markup are you using for your ''listing'' ? Tables, lists,
... ?
Matthias
我一直在使用表格,但如果您有一些提示,可以提供建议。
I have been using table, but are open for suggestions if you have some tip.
好吧,我没有问正确的问题:-)。这是表格数据,还是只是一个
项目清单?地址,股票报价,......?
使用表格,例如将结果分布在几个列上,比如
这个:
_ _ _ _ _
| a | 1 | | e | 5 |
| b | 2 | | f | 6 |
| c | 3 | | g | 7 |
| d | 4 | | h | 8 |
- - - - -
甚至不需要CSS,当然你可以/应该省略
空列,而是使用CSS作为两组数据之间的边距。
当我们对这种数据有更多了解时,提出建议会更容易
您正在使用的数据!
Matthias
OK, I didn''t ask the right question :-). Is this tabular data, or just a
list of items? Addresses, stock quotes, ... ?
With tables you could e.g. spread the results over several columns, like
this:
_ _ _ _ _
|a|1| |e|5|
|b|2| |f|6|
|c|3| |g|7|
|d|4| |h|8|
- - - - -
Doesn''t even require CSS, although of course you could / should omit the
empty column and instead use CSS for a margin between the two sets of data.
It''s easier to make suggestions when we know a bit more about the kind
of data you''re working with!
Matthias
这篇关于在几列中列出,如何?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!