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+
です

ssxxxccc

I really loved reading your blog. It was very well authored and easy to undertand. Unlike additional blogs I have read which are really not tht good. I also found your posts very interesting. In fact after reading, I had to go show it to my friend and he ejoyed it as well!
duvet cover

ssxxxccc

Thanks for taking the time to discuss this, I feel strongly about it and love learning more on this topic. If possible, as you gain expertise, would you mind updating your blog with more information? It is extremely helpful for me.
vipbox

ssxxxccc

I really loved reading your blog. It was very well authored and easy to undertand. Unlike additional blogs I have read which are really not tht good. I also found your posts very interesting. In fact after reading, I had to go show it to my friend and he ejoyed it as well!
Local SEO

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