2005-09-24 Sat
スタイルシートによる崩れない 2カラム 3カラム・レイアウト
- Reference
スタイルシートによる崩れない 2カラム 3カラム・レイアウト
http://desperadoes.biz/style/dan/
- via
cl.pocari.org - 2005-09-20
http://cl.pocari.org/2005-09-20-6.html
2005-09-20 Tue
各ブラウザのスタイルシートのレンダリングの初期状態をリセットする
- Reference
http://hail2u.net/blog/webdesign/css_tips_3.html
- via
cl.pocari.org - 2005-09-16
http://cl.pocari.org/2005-09-16-5.html
2005-09-20 Tue
2005-09-16 Fri
背景に関する指定がprintメディアに反映されない
- 問題
background-repeatプロパティにrepeat以外の値を指定すると,背景が印刷されない。
- 解決法
背景が指定された要素の幅(widthプロパティ)または高さ(heightプロパティ)
を明示すると背景画像が印刷されるらしい。
が,なぜか印刷できない。
- Reference
Internet Explorer (Windows) CSSバグリスト - 背景に関する指定がprintメディアに反映されない
http://cssbug.at.infoseek.co.jp/detail/winie/b042.html
2005-09-08 Thu
理想的なサイトマップ
- Summary
<ul>と<li>だけでサイトマップを表現.
lastitem クラスがミソ.
- HTML Source
<ul id="linkList"> <li> <a href="/">Home</a> <ul> <li> <a href="/1/">2nd - 1</a> <ul> <li> <a href="/1/1/">3rd - 1</a> </li> <li> <a href="/1/2/">3rd - 2</a> </li> <li class="lastitem"> <a href="/1/3/">3rd - 3</a> </li> </ul> </li> <li> <a href="/2/">2nd - 2</a> <ul> <li> <a href="/2/1/">3rd - 1</a> </li> <li> <a href="/2/2/">3rd - 2</a> </li> <li class="lastitem"> <a href="/2/3/">3rd - 3</a> </li> </ul> </li> <li class="lastitem"> <a href="/3/">2nd - 3</a> <ul> <li> <a href="/3/1/">3rd - 1</a> </li> <li> <a href="/3/2/">3rd - 2</a> </li> <li class="lastitem"> <a href="/3/3/">3rd - 3</a> </li> </ul> </li> </ul> </li> </ul>
- CSS Source
ul#linkList ul { margin-left:0; margin-bottom:1em; padding-top:0.3em; background:url("first-item.png") 20px 0px repeat-y; line-height:1; } ul#linkList li{ list-style: none; } ul#linkList ul li{ margin:0.3em 0 0.3em 0; padding-left:45px; background:url("all-item.png") 20px 0.7em no-repeat; } ul#linkList ul li.lastitem{ background:url("last-item.png") 20px 0.5em no-repeat; }
- 画像



- Reference
ミツエーリンクス - サイトマップ
http://www.mitsue.co.jp/sitemap/
2005-08-31 Wed
CSS Signature
- Reference
MLI - Writings - Tech notes - CSS Tip #2: Making Your Site Modifiable
http://www.rdrop.com/~half/Creations/Writings/TechNotes/css.tip.2.html
Eric A. Meyer
http://www.meyerweb.com/eric/
[css-d] CSS signatures - 13291 - 2002-09-28
http://archivist.incutio.com/viewlist/css-discuss/13291
- via
Note @ Temporary-Depot - 2005-01-11
http://www.pandora.nu/tempo-depot/notes/2005/01/11/#d050111
2005-08-25 Thu
入力しているフォームをハイライトする
- Sample
input:focus,select:focus,textarea:focus { color: inherit; background-color: rgb(255,255,240); }
- 補足
Internet Explorer では利用不可らしい.
2005-08-25 Thu
charset を指定する
- Sample
@charset "EUC-JP"; @charset "UTF-8"; @charset "Shift_JIS"; @charset "ISO-2022-JP";
- Reference
CSS Dencitie
http://www6.plala.or.jp/go_west/nextcss/
CSS Dencitie - CSS2リファレンス - @規則
http://www6.plala.or.jp/go_west/nextcss/ref/slctr/at_rule.htm
2005-06-21 Tue
JavaScript を使わずに CSS だけで画像を拡大表示する
- Reference
http://www.lucky-bag.com/images/popup.html
http://www.lucky-bag.com/archives/2005/06/css_popup.html
- via
cl.pocari.org - 2005-06-15
http://cl.pocari.org/2005-06-15-2.html
2005-05-16 Mon
RSSバーのデザインをカスタマイズ
- RssBar.css
a { color:#09f; background-color: inherit; text-decoration:none; font-family: Verdana, Arial, Helvetica, sans-serif; } a:hover { color:#fa0; background-color: inherit; text-decoration:underline; font-family: Verdana, Arial, Helvetica, sans-serif; } a:visited { color: #03c; background-color: inherit; } a:link { font-weight: bold; } .all { margin-top: 2px; border-top: 1px solid #fff; border-left: 1px solid #fff; border-bottom: 1px solid #999; border-right: 1px solid #999; } .site { font-family: 'Tahoma' } .title { color: inherit; background-color: #ddd; font-family: 'Tahoma' } .title01 { color: inherit; background-color: #ddd; font-family: 'Tahoma' } .title02 { color: inherit; background-color: #ccc; font-family: 'Tahoma' } .description { color: inherit; background-color: #ccc; font-family: 'Tahoma' }
- Screenshot

- Reference
RSSバー オフィシャルサイト
http://darksky.nureyev.net/sw/rssbar/
2005-04-21 Thu
CSS でインタラクティブ制御
- Summary
JavaScriptを使用せず,CSSのみでインタラクティブな制御を行う.
- Reference
Stu Nicholls - The CSS Playground - A photograph gallery
http://www.stunicholls.myby.co.uk/menu/gallery.html
ご近所ブログ - 2005-04-15 - CSS でインタラクティブ制御
http://www.miyoshitakayuki.com/archives/39
- via
cl.pocari.org - 2005-04-15
http://cl.pocari.org/2005-04-15.html#2005-04-15-4
2005-03-09 Wed
css Zen Garden Shot - css Zen Garden のサムネイル集
- Reference
css Zen Garden Shot
http://antenna.readalittle.net/thumblink/zenGarden/
css Zen Garden: The Beauty in CSS Design
http://www.csszengarden.com/
- via
antipop2.0 - 2005-03-05
http://antipop.zapto.org/mt/archives/001255.php
オレンジニュース - 2005-03-07
http://secure.ddo.jp/~kaku/tdiary/20050307.html#p13
2005-03-07 Mon
正しい知識を得たい人の為のCSS2リファレンス
- Reference
正しい知識を得たい人の為のCSS2リファレンス
http://hp.vector.co.jp/authors/VA022006/css/
- via
読書記録ChangeLog - 2005-03-03
http://dkiroku.com/2005-03-03-17.html
2004-12-27 Mon
アンカーのマウスオーバーで position:relative; なブロックが逃げる WinIE のバグ
- Summary
アンカーのマウスオーバーで一部のブロック要素が移動してしまう.
バグ再現ドキュメント
バグを利用した動画
- ポイント
・スイッチとなるアンカーへの border 指定 (本数に限りはない)
・リストの入れ子
・スイッチとなるアンカーより上の階層にある li への padding-top・padding-bottom 指定?
・スイッチとなるアンカーより後に出現するブロックへの position : relative; 指定 (複数可)
IE のデフォルトスタイルシート
- HTML
<ul> <li> <ul> <a href="#">スイッチ</a> </ul> </li> </ul> <blockquote>下がって行くブロック<blockquote> <div>下がって行くブロック</div> <pre>下がって行くブロック</pre>
- CSS
a:hover, a:active{ border-bottom : 1px solid; } li{ padding-top : 1px; padding-bottom : 1px; } p, div, blockquote, pre{ position : relative; }
- Reference
Black Box - 2004-11-21
http://orz.cc/blog/2004/11/21
2004-12-21 Tue
CSS Photo Zoom
- Example
SimpleBits - CSS Photo Zoom
http://www.simplebits.com/code/photo_zoom.html
- Reference
SimpleBits - 2003-08-22
http://www.simplebits.com/notebook/2003/08/22/css_photo_zoom.html
2004-09-10 Fri
Stylesheet Stylebook
- Summary
CSSの最新情報や使い方を皆さんと一緒に勉強/シェアしていくサイト
- Reference
Stylesheet Stylebook
http://www.stylesheet-stylebook.com/
- via
cl.pocari.org - 2004-09-06
http://cl.pocari.org/2004-09.php#2004-09-06-6
2004-09-10 Fri
テーブルは窓から投げ捨てろ
- Reference
Minute Design - Throwing Tables Out the Window (和訳)
http://www.minutedesign.com/translations/stopdesign/throwing_tables/
- via
cl.pocari.org - 2004-09-06
http://cl.pocari.org/2004-09.php#2004-09-06-7