[Answer]-Style a Div that uses forloop.counter

1👍

Use a class to style it:

<div id="..." class="reply">

CSS:

.reply {
    /* Your styles here */
}

ID’s (denoted by # in CSS) have to be unique to an element, classes (denoted by . in CSS) can be used with multiple elements.

Leave a comment