タグ

cssと2007-05-11に関するlomo_lomoのブックマーク (3)

  • WordPress CSS Guides

    2. The date. This is styled from the following statement: h2 { border-bottom: 1px dotted #ccc; font: 80% "Times New Roman", Times, serif; letter-spacing: 0.2em; margin: 15px 0 2px 0; padding-bottom: 2px; } If you don't want the dotted line across your page, delete the 'border-bottom' line. If you want the gap between different days posts to be larger, increase the 15px in margin. If you

    lomo_lomo
    lomo_lomo 2007/05/11
    WordPressのCSSカスタマイズガイド
  • optgroup 要素を CSS でひと工夫してみる | WWW WATCH

    フォームの入力コントロールの中で、select 要素によるセレクトメニューは、選択肢の数が一定以上増えると選択したい項目を探し出すのがちと面倒になります。そんな... フォームの入力コントロールの中で、select 要素によるセレクトメニューは、選択肢の数が一定以上増えると選択したい項目を探し出すのがちと面倒になります。そんな時のために optgroup 要素が存在するわけですが、こいつを使用した上で、CSS をあてて見た目を装飾する方法と、一部ブラウザでの注意点などを簡単にまとめてみました。 基的なことのみで、すごいかっこいい見た目を実現とかそういうのではありませんので、期待せずにどうぞ。 例えば都道府県などの選択をさせる際を想定すると、マークアップ自体はこんな感じになりますよね。面倒なので全部は書きませんが。 <select name="location"> <optgroup la

    optgroup 要素を CSS でひと工夫してみる | WWW WATCH
    lomo_lomo
    lomo_lomo 2007/05/11
    長くなったセレクトメニューをCSSでわかりやすくグループ化する
  • 70 Expert Ideas For Better CSS Coding | Smashing Magazine

    CSS isn’t always easy to deal with. Depending on your skills and your experience, CSS coding can sometimes become a nightmare, particularly if you aren’t sure which selectors are actually being applied to document elements. An easy way to minimize the complexity of the code is as useful as not-so-well-known CSS attributes and properties you can use to create a semantically correct markup. We’ve ta

    lomo_lomo
    lomo_lomo 2007/05/11
    CSSするときに知っておいた方がよいこと・便利なTips
  • 1