View Single Post
Old 03-31-2022, 01:02 PM   #55
phillipgessert
Addict
phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.phillipgessert ought to be getting tired of karma fortunes by now.
 
phillipgessert's Avatar
 
Posts: 318
Karma: 3200000
Join Date: Oct 2015
Location: Madison, WI
Device: Kindle 5th Gen
I'd not use background images at all, and you should definitely normalize those units. Text-related stuff (including margins and line-height) should usually use ems. % is most often used for positioning from the left or right, such as with images. px are used very rarely, and mostly for borders. And they should not mix like they do in that margin setting for ".numbered-list ol."

Incidentally, ol is already a numbered list that uses list-style-type: decimal. You might see what you can get away with with completely unstyled, semantic HTML. I'm not saying it will be suitable like that, but you might be surprised how little you actually have to change. It can be a useful exercise in helping make sure you aren't defining things in CSS that you can actually get away with leaving alone, thus eliminating potential points of failure.
phillipgessert is offline   Reply With Quote