[ ホーム | 一覧 | 検索 | 最終更新 | ヘルプ ] [ 新規 ]

KAWANO's PukiWiki Plus! - Lecture/InfoDesignB2005/7th/align のバックアップ(No.3)

AND OR
  • バックアップ一覧
  • 差分 を表示
  • 現在との差分 を表示
  • 現在との差分 - Visual を表示
  • ソース を表示
  • Lecture/InfoDesignB2005/7th/align へ行く。
    • 1 (2005-11-19 (土) 07:32:08)
    • 2 (2007-02-24 (土) 07:05:44)
    • 3 (2007-02-24 (土) 07:10:26)

行揃えの設定

行の揃え方を設定するには、 text-alignプロパティを設定します。

text-align: 行揃え位置
</pre>

text-alignプロパティは、
行の揃え方を設定します。
揃える位置には、次の設定ができます。
-left: 左揃え
-right: 右揃え
-center: 中央揃え

#pre(novervatim){{
h2.note {
  text-align: left;
}
h2.example {
  text-align: center;
}
</pre>

なお、
text-alignプロパティは、
指定したブロックレベル要素に対して、
その中身の揃え方を設定します。
ブロック自体を中央に揃えたい場合には、
次のように左右のマージンを「auto」にします。

#pre(novervatim){{
h2.note {
  margin-left: auto;
  margin-right: auto;
}
</pre>



次へ進んでください。 ---- #navi2(Lecture/InfoDesignB2005/7th,prev,toc,next)

メニュー

  • トップ
  • 授業
  • PukiWiki Log
  • Install Log
  • 道具箱
  • セキュリティ情報
  • RSSアンテナ

大学関係リンク

  • Webメール
  • 健康システム学科
  • 情報メディアセンター
  • 兵庫大学

今日の5件
  • FrontPage(81)
  • Lecture/CompPracE2004/10th(2)
  • PukiWiki Log(2)
  • Lecture/InfoPrac2005/2nd/5th(2)
  • Lecture/CompPracC2005/12th/execise(2)
最新の5件
2016-04-08
  • Lecture/timetable_2016
  • Lecture
  • FrontPage
2015-09-30
  • Lecture/timetable_2015
2015-04-04
  • MenuBar

total: 1524
today: 2
yesterday: 1
now: 65


リロード   差分   ホーム 一覧 検索 最終更新 バックアップ リンク元   ヘルプ   最終更新のRSS
http%3A%2F%2Fhs-www.hyogo-dai.ac.jp%2F~kawano%2F%3FLecture%25252FInfoDesignB2005%25252F7th%25252Falign
Founded by Minoru Kawano.
Powered by PukiWiki Plus! 1.4.7plus-u2-i18n. HTML convert time to 0.248 sec.
Valid XHTML 1.1