Discussions

Qコロンの位置を揃えたい

説明リスト(dl)で
[dt][dd]
[dt][dd]
なレイアウトで、dt の長さが決まっていないとき、dt::after で生成したコロンの位置を揃えたい。
擬似要素は dd::before でも構わない。
JavaScript なし、dt の width 決め打ちはなし。

Sample Code

AAnswer to: コロンの位置を揃えたい

ub-pnr

更新したらエラーでるのでこちらに書きます。
対応したいのは
モバイルは Android 2.2+, iOS 5+, IE9+, Opera Mobile (latest)
デスクトップは IE 以外は最新版、IE は 9+
です

dani

It’s appropriate time to make some plans for the future and it is time to be happy. I have read this post and if I could I wish to suggest you few interesting things or advice. Perhaps you could write next articles referring to this article. I desire to read even more things about it!
Nirvana Asian Massage

dani

Nice to be visiting your blog once more, it has been months for me. Well this article that ive been waited for therefore long. i want this article to finish my assignment within the faculty, and it has same topic together with your article. Thanks, nice share.
Ramsbottom on snow

Post a question

You can post JavaScript, HTML, CSS related questions with attached reference to actual codes and get the answers likewise.

Ask a question

  • 1. Click the ‘Post a question’ above

  • 2. Enter question details, reference code, and click ‘Add question’ button

  • 3. Question will be paired with the code on display

Add an answer

  • 1. Choose a question

  • 2. Enter answer details, attach the reference code and click ‘add answer’ button

  • 3. Your answer will accompanied with attached code

Tag