memo.xight.org

Home > Changelogメモ > CSS > 3ページ目 (全4ページ)
ChangeLog 最新ページ / カテゴリ最新ページ / 前ページ 1 2 3 4 次ページ / 3ページ目 (全4ページ)
2008-12 / 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31

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

カテゴリ: [CSS][Stub]

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

カテゴリ: [CSS][Trouble]

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;
}


- 画像
first-item.pngの画像
all-item.pngの画像
last-item.pngの画像

- Reference
ミツエーリンクス - サイトマップ
http://www.mitsue.co.jp/sitemap/

カテゴリ: [XHTML][CSS]

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

カテゴリ: [CSS]

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

カテゴリ: [CSS]

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
  RSSバーカスタマイズデザイン
- Reference
  RSSバー オフィシャルサイト
  http://darksky.nureyev.net/sw/rssbar/

カテゴリ: [Sleipnir][CSS]

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

カテゴリ: [CSS]

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

カテゴリ: [CSS][Web Design]

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

カテゴリ: [CSS]

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

カテゴリ: [CSS][ネタ]

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

カテゴリ: [CSS]

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

カテゴリ: [CSS]

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

カテゴリ: [CSS]
2008-12 / 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
最終更新時間: 2008-12-02 10:52

Color Reference

ChangeLogを検索
携帯電話からアクセス!

カテゴリ

最近の話題

リンク

過去ログ

Google

QR Code

Since
2002-11-28
Update
2008-12-02 10:52
Copyright © 2005 xight.org All Rights Reserved.