nampara17 wrote:
Can we use <div>'s and classes?
<div> no, because it's block-level element, and isn't technically allowed by html (browsers) to go inside inline elements like <p> paragraphs. However, why not just use <span> instead of <div>? There is nothing you can do with <div> that you can't do with <span>.
You can use classes yes.
<span class="myclass"></span>
You need to be careful about what you do with styles though. Remember, the description may display in the layout and in the popup, so you can't add styles that look nice in one place but not the other ... Unless you only display descriptions in the popup for example. That's why by default, formatting should be limited to "rich text formatting" (colors, fonts, bold, italic etc).