There are currently 2 posts.
Font size: Small - 100% (Default)  Content converter: No conversion
 
Clicks Replies
1454 1
【经验】ulli的绝对定位
产品的注销
初入江湖 七级
Reply
Floor 1 Posted at: 12/18/10 23:19

要想让竖着排列的li横着排列,就使用

float:left;

这样所有的li块就往左挤。若位置不够了再折行。

也可以使用float:right;,这样就往右挤。

产品的注销
初入江湖 七级
Reply
Floor 2 Posted at: 12/18/10 23:21

若想让一个li块右边的li快向左边移动x格,可使用

margin-rigth:-2px;

这样右边的li块就会向左移动两格。

margin-rigth:3px;

右侧li块向右移动三格。

Reply the post
Content:
User: You are currently anonymous.
Captcha:
Unclear? Try another one.
(Shortcut key: Ctrl+Enter)
Post Information
Clicks: 1454 Replies: 1
Author: 产品的注销
Last reply: 产品的注销
Last reply time: 12/18/10 23:21
Good area: 编程资料区
Bar Hot Posts
Bar Good Posts
Announcements