第93天:css限制行宽(标题后显示省略号…),水平线hr样式定义,Flx blog 上线

2008-8-21 星期四

z-blog 文章页侧栏的“最近发表”限制字数显示的样式(标题后显示省略号…)

参考:z-blog官方论坛搜索

限制“最近发表”宽度使不折行:
#ulPrevious LI { width:238px; white-space:nowrap; word-break:keep-all; overflow:hidden; text-overflow:ellipsis }

(注:word-break:keep-all 可能不需要)

去除“最近发表”前面的日期
.article-date { display:none }

Flx blog 上线

早上窥见了这个地方:www.92flx.cn

另,Flx 今天更改了友吧首页轮换 banner 中的“读吧”图片。

水平线 <hr> 样式定义

水平线默认由上下各 1px 的 border 组成,可分别定义:

hr { border-top:(style); border-bottom:(style) }

也可以使 border:0,定义高宽,然后用 background-image 指定线型背景图片

English log

A Tale from West Africa

Anansi the Spider hated to share! When Turtle came to his house at mealtime, he said, "I can’t give you food until you’ve washed your dusty feet!"

Turtle licked his lips when he saw the big plate of steaming food, but politely walked to the stream to wash. When he returned, the plate was empty. "Good meal," Anansi said, patting his full stomach.

"One good meal deserves another!" said Turtle. "Come to my house for dinner tomorrow." Turtle fixed a fine dinner at the bottom of the river. "Come on down and eat!" he said.

Anansi filled his jacket pockets with stones so that he would be weighted down enough to stay at the river’s bottom and eat. "It’s impolite to wear a jacket to dinner!" Turtle said, "Take it off!"

But when greedy Anansi took off his jacket, he floated back up to the surface of the water and hungrily watched Turtle eat his fill!

 

RSS

上一篇:

下一篇:

发表评论

电子邮件地址不会被公开。 必填项已用*标注