Taming the Squish
May. 12th, 2020 12:49 pmHello! Sorry in advance for the non-code-sharing post, but hopefully I can make this worth the interruption.
I'm trying to tune DW's image shrinker to leave decorative codes alone, and to do that I need to identify something that almost all codes have in common.
After browsing the archives for a bit, it looks likeĀ almost every code shared here puts all its important stuff inside one of the following:
- A
<table> - A
<div style="...">(that is, a div that has some kind of inline CSS on it.)
Is that about right? Can anyone point to a decorative code for character sheets or playlists or whatever that isn't either a table or an inline-styled div? Is there other markup you've seen where the image resizing screwed it up but it wasn't inside a table or a styled div?
(If no, I can start working on making codes exempt from The Squish; if yes, I might need to think a bit harder first.)
Thanks!
( More context )