0
Welcome Guest! Login
0 items Join Now

Definition Lists

  • Definition Lists

    Posted 13 years 2 months ago
    • Hi
      I am an HTML and CSS noobie and was interested to read some articles the other day on Definition Lists in HTML and the styling of the same in CSS and was struck that I dont think I have ever seem them used before and certainly no in RT typography.

      Any one here use them?

      just to be clear I am talking about the <dl> <dt> <dd> tags
    • Sanjay Rath's Avatar
    • Sanjay Rath
    • Sr. Rocketeer
    • Posts: 124
    • Thanks: 2
    • Teacher, Civil Service, Engineer

    Re: Definition Lists

    Posted 11 years 1 month ago
    • You can make all sorts of formatting for Definition Lists. Try adding this to your custom stylesheet, like sat rt_paradigm_wp-custom.css
      /*DL, DT, DD TAGS LIST DATA*/
      dl {padding: 0.5em; }
      dl dt { float: left; clear: left; width: 100px; text-align: right; font-weight: bold; }
      dl dt:after { content: ":"; }
      dl dd { margin: 0 0 0 110px; padding: 0 0 0.5em 0; }
    • 'Namaste' from Sanjay Rath
      "In one word, this ideal is that you are divine." Swami Vivekananda.

Time to create page: 0.045 seconds