Deprecated: Assigning the return value of new by reference is deprecated in /home/users/1/fool.jp-ichi/web/blog/wp-settings.php on line 472

Deprecated: Assigning the return value of new by reference is deprecated in /home/users/1/fool.jp-ichi/web/blog/wp-settings.php on line 487

Deprecated: Assigning the return value of new by reference is deprecated in /home/users/1/fool.jp-ichi/web/blog/wp-settings.php on line 494

Deprecated: Assigning the return value of new by reference is deprecated in /home/users/1/fool.jp-ichi/web/blog/wp-settings.php on line 530

Deprecated: Assigning the return value of new by reference is deprecated in /home/users/1/fool.jp-ichi/web/blog/wp-includes/cache.php on line 103

Deprecated: Assigning the return value of new by reference is deprecated in /home/users/1/fool.jp-ichi/web/blog/wp-includes/query.php on line 21

Deprecated: Assigning the return value of new by reference is deprecated in /home/users/1/fool.jp-ichi/web/blog/wp-includes/theme.php on line 623

Deprecated: Assigning the return value of new by reference is deprecated in /home/users/1/fool.jp-ichi/web/blog/wp-content/plugins/custom_posts/custom_posts.php on line 22

Deprecated: Assigning the return value of new by reference is deprecated in /home/users/1/fool.jp-ichi/web/blog/wp-content/plugins/pukiwiki.php on line 46

Deprecated: Assigning the return value of new by reference is deprecated in /home/users/1/fool.jp-ichi/web/blog/wp-content/plugins/pukiwiki.php on line 67

Deprecated: Assigning the return value of new by reference is deprecated in /home/users/1/fool.jp-ichi/web/blog/wp-content/plugins/pukiwiki.php on line 75

Deprecated: Assigning the return value of new by reference is deprecated in /home/users/1/fool.jp-ichi/web/blog/wp-content/plugins/pukiwiki.php on line 92

Deprecated: Assigning the return value of new by reference is deprecated in /home/users/1/fool.jp-ichi/web/blog/wp-content/plugins/modPukiWiki/class/PukiWikiRender.php on line 70

Deprecated: Assigning the return value of new by reference is deprecated in /home/users/1/fool.jp-ichi/web/blog/wp-content/plugins/modPukiWiki/class/PukiWikiElement.php on line 181

Deprecated: Assigning the return value of new by reference is deprecated in /home/users/1/fool.jp-ichi/web/blog/wp-content/plugins/modPukiWiki/class/PukiWikiElement.php on line 538

Deprecated: Assigning the return value of new by reference is deprecated in /home/users/1/fool.jp-ichi/web/blog/wp-content/plugins/modPukiWiki/class/PukiWikiElement.php on line 695

Deprecated: Assigning the return value of new by reference is deprecated in /home/users/1/fool.jp-ichi/web/blog/wp-content/plugins/modPukiWiki/class/PukiWikiElement.php on line 1087

Deprecated: Function ereg() is deprecated in /home/users/1/fool.jp-ichi/web/blog/wp-content/plugins/wp-ban/wp-ban.php on line 112

Deprecated: Function ereg() is deprecated in /home/users/1/fool.jp-ichi/web/blog/wp-content/plugins/wp-ban/wp-ban.php on line 112

Deprecated: Function ereg() is deprecated in /home/users/1/fool.jp-ichi/web/blog/wp-content/plugins/wp-ban/wp-ban.php on line 112

Deprecated: Function ereg() is deprecated in /home/users/1/fool.jp-ichi/web/blog/wp-content/plugins/wp-ban/wp-ban.php on line 112

Deprecated: Function ereg() is deprecated in /home/users/1/fool.jp-ichi/web/blog/wp-content/plugins/wp-ban/wp-ban.php on line 112

Deprecated: Function ereg() is deprecated in /home/users/1/fool.jp-ichi/web/blog/wp-content/plugins/wp-ban/wp-ban.php on line 112
inline-block | おれせか
おれせか

なんかそれっぽいのをうにうに。

inline-block

Categories: CSS

Deprecated: Function split() is deprecated in /home/users/1/fool.jp-ichi/web/blog/wp-content/plugins/modPukiWiki/lib/func.php on line 75
http://yomotsu.net/works/081016cssnite/

書籍などに紹介されていない display : inline-block について

うおおう。IEなんかも含めcssだけでできるんかー!!
やばいちょっと感動した。

しっかり読まなくてもアジェンダの応用例見るだけでも何ができるのかはすぐわかるよ。

div.sample {
    width: 300px;
    display: -moz-inline-box;
    display: inline-block;
    /display: inline;
    /zoom: 1;
}

div.sample > div{
    width:300px;
    display:block;
}

とりあえずこれは覚えとこう。

内部のdivは、FF2のときだけ(-moz-inline-box)そのままだと長い文字が折り返されないので内部に横幅指定したblock要素をかませるらしい。

PAGETOP
PAGETOP

Prev / Next in same category

PAGETOP

Comments (10)

memo.

inline-block同士の間に出ちゃうスペース(IE以外)の幅は
winでだいたい3px、macでだいたい4px。あばうと。

[2008/12/25 (木) 15:40]

私はこのブログは本当に私はそれを行うように確信させたことを申し上げたいと思います!おかげで、非常に良い記事。

[2012/12/20 (木) 16:40]

ポストグッド!共有していただきありがとうございます。それは私にとって非常に便利です。私は自分の将来が必要のためにこれをブックマークします。偉大なソースのおかげで..

[2013/05/06 (月) 10:34]

非常に便利です。私は自分の将来が必要のためにこれをブックマークします。偉大なソースのおかげで..

[2013/05/08 (水) 15:58]

あなたからの素晴らしいもの。アイブ氏は前に自分のものを読んで、あなたはあまりにも素晴らしい。

[2014/05/14 (水) 17:05]

しっかり読まなくてもアジェンダの応用例見るだけでも何ができるのかはすぐわかるよ。

[2014/12/25 (木) 12:59]

流行を見抜くことができるのも実は巡回するで。

異なる風格は過ぎて数年また流行り始めて。

休む騒動の飛躍、各種が高くて大きい上の贅沢なブランドにも次から次へとこ。

l直書きでネスト作るこ

[2015/10/13 (火) 17:00]

まぁなんかあるでしょ。

[2016/01/15 (金) 17:49]

昼12時に東京駅に集合。リゾート踊り子号に乗り込み熱海へ向けて出発。
車内ではみんな駅弁食いつつお喋りしつつで、1時間ちょいで熱海に到着。そこからバスでホテルへ。

[2016/06/20 (月) 11:00]
PAGETOP

Comment Form

PAGETOP

Trackbacks (0)

トラックバックはありません。

PAGETOP

Trackback URL

PAGETOP

Search