显示圆圈中的列表项 [英] Displaying List Items in a Circle

查看:81
本文介绍了显示圆圈中的列表项的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想要做的是列出一个列表并将其显示在一个圆圈中。

例如(圆圈中的顺序无关紧要。除了Item1,它必须位于顶部):

What I''d like to do is take a list and display it''s items in a circle.
For example (the order of the in the circle doesn''t matter..except for Item1, it has to be at the top):

展开 | 选择 | Wrap | 行号

推荐答案

将它们放在一起:
Threw this together:
展开 | 选择 | Wrap | 行号



我记得读过一篇关于在页面中间放置内容的帖子(这里)。帖子使用CSS和一些变量(H和W)将元素放在页面中间。
I remember reading a post about positioning something in the middle of the page (here). The post used CSS and some variables (H and W) to position the element in the middle of the page.



没有仔细阅读。没有CSS变量这样的东西。

Didn''t read this thoroughly. There is no such thing as a CSS variable.


我想我应该更清楚一点。

列表项包含超链接,这是一个菜单该网站。

菜单是一个多级菜单,我想在外围圆圈中显示第一个级别,第二个级别作为外部圆圈的内部圆圈,第三个级别作为第二级内圈。


我正在使用CMS为我生成列表中的菜单。

没有给出的ID列出除当前之外的项目列表项(给出ID为当前)这很烦人。


-Frinny
I guess I should have been a bit more clear.
The list items contain hyperlinks which are the menu for the site.
The menu is a multi-level menu and I wanted to display the first level in the outter circle, the second level as an inner circle of the outter one, and the thrid level as a circle within the second level.

I''m using a CMS that generates the menu in a list for me.
There are no IDs given to the list items except for the "current" list item (given an ID of "current") It''s pretty annoying.


-Frinny


这篇关于显示圆圈中的列表项的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆