Also note that you can have multiple classes given in the class= thing in your html. I have common block stuff in the div.block css, then I have different classes for letter, verse, etc. In my html I then use div class="block letter". That way you can factor out the common/repeated stuff and put it in the div.block css.
One thing I've always wondered about is how doing it that way compares with using nested divs; e.g. a div class="block" and inside it a div class="letter". Nested divs seems to be more popular.
Last edited by hobnail; 07-27-2022 at 11:54 PM.
|