Creating a Definition List with CSS Only


#22

You guys are simply phenomenal!! Thank you so much for all the well-supported options! I am so thankful to have found this site! (Also, to respond to the poster that wondered if I can use any lists: I can use <ul> and <ol>, but I cannot assign classes to them. My editor only allows classes to items in <span> or <div>, so I end up enclosing my lists in those to style them if I need to give them a class. Unfortunately, this also means I cannot use a <div> on an element because unless I tell it otherwise in the css, there is a break after the element, like after a <p> element— though maybe a <span> would fix that? Hmm, I’ll have to try that.

Also, Confluence Cloud is hard. (At least way harder than it should be if you want to make anything of professional quality.) Lol