Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS dl dt styling

  • This topic is empty.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #170522
    nuodas159
    Participant

    Hello,
    how to make that Text1 would be in top of dl now it is in bottom?

    codepen.io/anon/pen/kvhlt

    #170523
    Atelierbram
    Participant

    vertical-align: top;

    
    dl dt {
      width: 100px;
      vertical-align: top;
    }
    
    #170627
    shaneisme
    Participant

    Minor issue, but you’re using the definition list incorrectly in regards to semantics, unless you’ve got something else up your sleeve.

    Most likely just using a block level element of some sort would be best.

    Info on definition lists: http://www.maxdesign.com.au/articles/definition/

Viewing 3 posts - 1 through 3 (of 3 total)
  • The forum ‘CSS’ is closed to new topics and replies.