View Single Post
Old 07-27-2022, 11:52 PM   #32
hobnail
Running with scissors
hobnail ought to be getting tired of karma fortunes by now.hobnail ought to be getting tired of karma fortunes by now.hobnail ought to be getting tired of karma fortunes by now.hobnail ought to be getting tired of karma fortunes by now.hobnail ought to be getting tired of karma fortunes by now.hobnail ought to be getting tired of karma fortunes by now.hobnail ought to be getting tired of karma fortunes by now.hobnail ought to be getting tired of karma fortunes by now.hobnail ought to be getting tired of karma fortunes by now.hobnail ought to be getting tired of karma fortunes by now.hobnail ought to be getting tired of karma fortunes by now.
 
Posts: 1,581
Karma: 14328510
Join Date: Nov 2019
Device: none
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.
hobnail is offline   Reply With Quote