Skip to content
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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dabrahams
Copy link
Contributor

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 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.
@dabrahams
Copy link
Contributor Author

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.

@jonatanlr98
Copy link

Coloqué una imagen en mi diapositiva usando atributos style='position: absolute...'explícitos widthy heightpero no apareció. Resulta que Markdown lo envolvió en un <p>, cuyo tamaño era entonces cero... lo que luego forzó el tamaño de la imagen a cero.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants