-
-
Notifications
You must be signed in to change notification settings - Fork 16.6k
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
don't override an explicit width or height #3084
base: master
Are you sure you want to change the base?
Conversation
I placed an image in my slide using `style='position: absolute...'` and explicit `width` and `height` attributes but it didn't show up. Turns out markdown wrapped it in a `<p>`, whose size was then zero… which then forced the image size to zero.
I'm not sure this is really what's needed, because it seems like width or height specified in non-absolute units like '%' or 'em' should probably be limited by minima/maxima. I'm not a CSS expert, so maybe there's a better remedy out there. |
|
I placed an image in my slide using
style='position: absolute...'
and explicitwidth
andheight
attributes but it didn't show up. Turns out markdown wrapped it in a<p>
, whose size was then zero… which then forced the image size to zero.