-
-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Find a way to avoid text gluing to images #13
Comments
Attribute selectors to the rescue? img[align="right"] { margin-left: 1em; }
img[align="left"] { margin-right: 1em; } |
(WIP) List of pages where this can be tested: |
Considering that Once styles like img[align="right"], img[style*="float:right"], img[style*="float: right"] { margin-left: 1em; }
img[align="left"], img[style*="float:left"], img[style*="float: left"] { margin-right: 1em; } See also #45 for a related but probably less common construct. |
Kind of a text-specific margin. Should not affect other layout items. I wonder if one of the possible
display
values could work for this.The text was updated successfully, but these errors were encountered: