渲染列表分为两列

编程入门 行业动态 更新时间:2024-10-25 02:27:26
本文介绍了渲染列表分为两列的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

嗨! 是否有可能呈现 < ol> < li>一个< / li> < li>二< / li> ... < / ol> 在两列中仅使用CSS? 问候 Timo

解决方案

2004年5月8日星期六20:20:12 +0200,Timo Nentwig< tc*@spamgourmet> 写道:

嗨! 是否有可能呈现 < ol> < li> one< / li> < ; li>两个< / li> ...... < / ol> 在两列中仅使用CSS? 关心 Timo

不是。您必须拆分为两个定位列表,并使用 已弃用的属性< li>在 秒列表中正确地重新开始编号以实现此目的。

在文章中Neal写道:

On周六,2004年5月8日20:20:12 +0200,Timo Nentwig< tc*@spamgourmet> 写道:

嗨! < ol> < li>一个< / li> < li>二< / li> 。 .. < / ol> 在两列中仅使用CSS? 问候 Timo 不是真的。

是的,请先让数字从左到右,然后再下来。 不幸的是,这不适合有序列表,因为人们倾向于将b $ b读取列表,然后查看其他列。 你必须分成两个定位列表并使用不推荐使用的属性对于< li>在第二个列表上正确地重新开始编号以实现此目的。

不一定,但这是最常见的方式。无论如何,除了任何额外的 HTML: www.student.oulu.fi/~laurirai...st/ol2col.html 适用于Opera 7.5b1,应该可行Opera 6+和mozilla以及 支持多个+的任何内容。选择器。 - Lauri Raittila< www.iki.fi/lr> < www.iki.fi/zwak/fonts> 我在找工作Etsin ty?t?

Lauri Raittila写道:

www.student.oulu.fi/~laurirai...st/ol2col.html 酷!谢谢!

Hi! Is it possible to render <ol> <li>one</li> <li>two</li> ... </ol> in two columns using only CSS? Regards Timo

解决方案

On Sat, 08 May 2004 20:20:12 +0200, Timo Nentwig <tc*@spamgourmet> wrote:

Hi! Is it possible to render <ol> <li>one</li> <li>two</li> ... </ol> in two columns using only CSS? Regards Timo

Not really. You''d have to split into two positioned lists and use a deprecated attribute for <li> to restart the numbering properly on the second list to accomplish this.

In article Neal wrote:

On Sat, 08 May 2004 20:20:12 +0200, Timo Nentwig <tc*@spamgourmet> wrote:

Hi! Is it possible to render <ol> <li>one</li> <li>two</li> ... </ol> in two columns using only CSS? Regards Timo Not really.

Yes, exept whan having numbers going left to right first, then down. Unfortunately that does not suit well on ordered list, as people tend to read list down, and then look other column. You''d have to split into two positioned lists and use a deprecated attribute for <li> to restart the numbering properly on the second list to accomplish this.

Not necessarily, but that is most sencible way. Anyway, whitout any extra HTML: www.student.oulu.fi/~laurirai...st/ol2col.html Works on Opera 7.5b1, should work Opera 6+ and mozilla and anything that supports more than one "+" selectors. -- Lauri Raittila <www.iki.fi/lr> <www.iki.fi/zwak/fonts> I''m looking for work | Etsin ty?t?

Lauri Raittila wrote:

www.student.oulu.fi/~laurirai...st/ol2col.html

COOL! Thanks!

更多推荐

渲染列表分为两列

本文发布于:2023-10-27 03:33:34,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1532192.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:列表

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!