Within my parent div named lyricpadding
, there are several <h4>
elements with unique IDs. My goal is to use Jquery, Javascript, or CSS to ensure that the <h4>
with the class of highlighted
remains centered within the parent container. I do not want it to span the entire width, only to have the text centered and automatically scroll until it reaches the bottom. This way, the highlighted
class will always be visible, ideally in the center.