》》》欢迎! 你是第track traffic个访客 [今日博客]是一个记述lT文摘,网站相关,情感生活的博客.如有任何意见或提议请联系本人 MSN:xixl_888@msn.com QQ:576437691 谢谢访问!!!你的回复就是给我最大的鼓舞《《《

Google
 

带滚动条的日志



当要写篇幅较长的日志时,可以考虑给日志加上滚动条,这样日志在 Blogger 空间中所占的页面就不会过长。另外,有时我们希望每篇日志的大小都差不多,这样才好规范空间的版块增加美观如(今日博客)我的空间.就可以考虑通过带滚动条的图文框的办法来统一篇幅。滚动条的添加是通过 CSS 语言中 Style 的使用来完成的,下面我就举几个简单的例子来介绍一下滚动条。

(一)右侧滚动条

实例:

数字、数学符号 ⓪ ① ② ③ ④ ⑤ ⑥ ⑦ ⑧ ⑨ ⑩ ⑪ ⑫ ⑬ ⑭ ⑮ ⑯ ⑰ ⑱ ⑲ ⑳
❶ ❷ ❸ ❹ ❺ ❻ ❼ ❽ ❾

⑴ ⑵ ⑶ ⑷ ⑸ ⑹ ⑺ ⑻ ⑼ ⑽ ⑾ ⑿ ⒀ ⒁ ⒂ ⒃ ⒄ ⒅ ⒆ ⒇
⒈ ⒉ ⒊ ⒋ ⒌ ⒍ ⒎ ⒏ ⒐ ⒑ ⒒ ⒓ ⒔ ⒕ ⒖ ⒗ ⒘ ⒙ ⒚ ⒛
ⅰ ⅱ ⅲ ⅳ ⅴ ⅵ ⅶ ⅷ ⅸ ⅹ ⅺ ⅻ
Ⅰ Ⅱ Ⅲ Ⅳ Ⅴ Ⅵ Ⅶ Ⅷ Ⅸ Ⅹ Ⅺ Ⅻ
㊀ ㊁ ㊂ ㊃ ㊄ ㊅ ㊆ ㊇ ㊈ ㊉
㈠ ㈡ ㈢ ㈣ ㈤ ㈥ ㈦ ㈧ ㈨ ㈩
№ ⅛ ¼ ⅜ ½ ⅝ ¾ ⅞
+ - × ÷ ± + - = ≡ ≠ ≒ ≈ ≌ ~ ~﹢ ╳ ⊕ Θ % ‰ % ∵ ∴ ∷ ∏ < > ≦ ≧ ≤ ≥﹤ ﹥∩ ∪ ∈ ¢ ° ⊥ ∠ ∟ ⊿ △ ㏒ ∑ ∂ ∫∮∞( 〔 ﹙﹚ 〕) { ﹛﹜} √ ㄨ

语句:

<DIV align=center>
<DIV style='color: blue; background-color: white; border: green solid 1px; width: 420px; height: 100px;
overflow: scroll; scrollbar-face-color: #ABCDEF; scrollbar-shadow-color: #6666FF; scrollbar-highlight-color: #CCCCCC; scrollbar-3dlight-color: #6666FF; scrollbar-darkshadow-color: #6699CC; scrollbar-track-color: #99CCFF; scrollbar-arrow-color: #99CCFF;'>
日志图文内容
</DIV></DIV>


Style 语句解释:

Color: blue —— 前景文字颜色为蓝色
Background-color: white —— 背景颜色为白色
Border: black solid 1px —— 黑色实线边框,宽度为 1px
Width: 420px; Height: 100px —— 滚动窗口宽度 420px,高度 100px
Overflow: scroll —— 总是显示滚动条;如果将 scroll 改为 auto,则仅当日志内容超过边框限制时,才显示滚动条(不需要下面的滚动条就用这个命令);如果将 sroll 改为 hidden,则滚动文字窗口内不显示任何滚动条(特殊用途,以后讲吧)
其他语句均为滚动条颜色设置,大家可以自己动手改改看。



(二)左侧滚动条

实例:

特殊中文字符
㊐ ㊊ ㊎ ㊍ ㊌ ㊋ ㊏ ㊑ ㊒ ㊓ ㊔ ㊕ ㊖ ㊗ ㊘ ㊜ ㊝ ㊞ ㊟ ㊠ ㊡ ㊢ ㊩ ㊪ ㊫ ㊬ ㊭ ㊮ ㊯ ㊰ ㊚ ㊛ ㊙ ㊣ ㊤ ㊥ ㊦ ㊧ ㊨
㈱ ㍿ 囍 卐 卍

特殊西文字符
ⓐ ⓑ ⓒ ⓓ ⓔ ⓕ ⓖ ⓗ ⓘ ⓙ ⓚ ⓛ ⓜ ⓝ ⓞ ⓟ ⓠ ⓡ ⓢ ⓣ ⓤ ⓥ ⓦ ⓧ ⓨ ⓩ
Ⓐ Ⓑ Ⓒ Ⓓ Ⓔ Ⓕ Ⓖ Ⓗ Ⓘ Ⓙ Ⓚ Ⓛ Ⓜ Ⓝ Ⓞ Ⓟ Ⓠ Ⓡ Ⓢ Ⓣ Ⓤ Ⓥ Ⓦ Ⓧ Ⓨ Ⓩ
à á â ã ä å æ ç è é ê ë ì í î ï ð ñ ò ó ô õ ö ø ù ú û ü ý þ ÿ ō ǒ ǎ
À Á Â Ã Ä Å Æ Ç È É Ê Ë Ì Í Î Ï Ð Ñ Ò Ó Ô Õ Ö Ø Ù Ú Û Ü Ý Þ ß ε ф μ ξ ζ ω Ω ψ Ψ Café
© ® ℗ ℃ ℉ Ω ㏎

语句:

<DIV align=center>
<DIV style="BORDER: black solid 1px; OVERFLOW: auto; WIDTH: 420px; HEIGHT: 100px; DIRECTION: rtl" >
<DIV style="DIRECTION: ltr;" align=left>
日志图文内容
</DIV></DIV></DIV>

Style 语句解释:

Direction: rtl —— 是将滚动条放置到左边的关键
Direction: ltr —— 是确保文字输入方式还是从左到右
其中滚动条样式、颜色都使用了默认值,所以这个例子除了将滚动条放置到了左侧以外,基本可以说是采用了最简单的滚动条语句。



(三)透明的滚动条

实例:

图形符号 ♂ ♀ ♠ ♣ ♥ ♦ ♤ ♡ ◇ ♧ ❤ ❥ ☜ ☞ ☎ ☏ ♨ ☺ ☻ ﹡ * ¤ ☼ ☀ ☽ ☾ ☆ ★ ☄ ☁ ☂ ✚ ✟ ✙ ✣ ✤ ✥ ✦ ✧ ✩ ✫ ✬ ✭ ✮ ✯ ✰ ✪ ☆ ★ ❂ ❁ ❀ ✿ ✱ ✲ ✳ ❃ ✾ ✽ ✼ ✻ ✺ ✹ ✸ ✷ ✶ ✵ ✴ ❄ ❅ ❆ ❇ ❈ ❉ ❊ ❋ ✱ ☸ ❣ ❦ ❧ ✁ ✄ ☪ ☣ ☢ ☠ ☭ ❣ ♈ ☮ ✈ ✡ ✓ ✔ √ ☑ ☒ ✗ ✘ ㄨ ✕ ✖ ✖ ✎ ✏ ✐ ✌ ✍ ✉ ↂ ☯ ♛ ♕ ﹎ ₪ ¡ Þ ௫ ღ 〝〞ミ灬 ツஐ   ﻬ L ☊ ☋ ♋ ☌ ☍ Ξ ぷ 々∞ o'.'o ☃ ☹ 〠 〄 ♝ ♞ ♟ ºº 큐 〒 ≡ ⁂ и ァ γ ㄒ ︶︿ しノж ю Ю 乀 ◖◗ Ш ๑ ۩ ۞ ˇ 彡

语句:

<DIV align=center>
<DIV style='color: navy; background-color: pink; border: orange solid 1px; width: 420px; height: 100px;
overflow: auto; scrollbar-face-color: pink; scrollbar-shadow-color: pink; scrollbar-highlight-color: pink; scrollbar-3dlight-color: pink; scrollbar-darkshadow-color: pink; scrollbar-track-color: pink; scrollbar-arrow-color: navy;'>
日志图文内容
</DIV></DIV>

Style 语句解释:

其实很简单,就是把所以滚动条的颜色都设成和背景色一样,比如这个例子中的 Pink。只保留 Scrollbar-arrow-color 为不同于背景色的颜色,比如例子中的 Navy。这样用鼠标点击两个向上、向下的小箭头即可滚动图文框中的内容。

提示:我们在新建帖子的HTML代码中设计好滚动条后如直接点击发送的话会有提示
不过不要担心我们只要把这篇日志改成(撰写)在发布就可以.

以上范例所用语句,来源于网络,并参考了 CSS 2.0 手册。图文框内的符号也是自己收集整理的,欢迎使用。

1 条评论:

mon 说...

authentic designer handbags
Where the authentic designer handbags are the replicas are and in view of Louis Vuitton, some fakers are all trying their best to imitate.


from handbags
They like emphasize the the importance of the largeness-by-association as they can know well your social status from handbags.

imitation handbags
We've identified several imitation handbags of similar shapes of major brands and let's take a closer look at these seemingly "twins".


buy handbag
After I searched it for a long time, I know that to buy handbag is not a difficult thing but to buy a suitable bag is not easy.


handbags for sale
Compared to the histories of the other designers, Longchamp handbags for sale, upon entering the 60th anniversary, considered middle-aged.