The forums ran from 2008-2020 and are now closed and viewable here as an archive.
Home › Forums › CSS › dl dt styling
Hello, how to make that Text1 would be in top of dl now it is in bottom?
codepen.io/anon/pen/kvhlt
vertical-align: top;
dl dt { width: 100px; vertical-align: top; }
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/