• Resolved sepoto

    (@sepoto)


    I am trying to make sense out of the meaning of div.comments & textarea#comment. I have never seen this type of syntax used ever before. I copied this code out of Sandbox v1.6. Could someone explain what the styles are actually being applied to? Thank you.

    [code]
    div.comments ol li {
    margin:0 0 3.5em;
    }

    textarea#comment {
    height:13em;
    margin:0 0 0.5em;
    overflow:auto;
    width:66%;
    }
    [/code]

Viewing 1 replies (of 1 total)
  • div.comments ol li

    is applied to a list element of an ordered list (somewhere) within a div with the css class .comments

    textarea#comment

    is applied to a textarea with the css id #comment

    online css tutorials – for instance:
    http://www.w3schools.com/css/

Viewing 1 replies (of 1 total)

The topic ‘div.comments & textarea#comment.’ is closed to new replies.